mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
Update tests
This commit is contained in:
parent
54233acc8e
commit
0440c2c377
@ -47,10 +47,9 @@ fn main() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum =
|
let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum =
|
||||||
xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold(
|
xxxxxxx.map(|x| x + 5)
|
||||||
0,
|
.map(|x| x / 2)
|
||||||
|acc, x| acc + x,
|
.fold(0, |acc, x| acc + x);
|
||||||
);
|
|
||||||
|
|
||||||
aaaaaaaaaaaaaaaa.map(|x| {
|
aaaaaaaaaaaaaaaa.map(|x| {
|
||||||
x += 1;
|
x += 1;
|
||||||
|
@ -18,18 +18,15 @@ fn main() {
|
|||||||
));
|
));
|
||||||
|
|
||||||
// chain
|
// chain
|
||||||
let x = yooooooooooooo.fooooooooooooooo.baaaaaaaaaaaaar(
|
let x = yooooooooooooo
|
||||||
hello,
|
.fooooooooooooooo
|
||||||
world,
|
.baaaaaaaaaaaaar(hello, world);
|
||||||
);
|
|
||||||
|
|
||||||
// #1380
|
// #1380
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let creds = self.client.client_credentials(
|
let creds = self.client
|
||||||
&self.config.auth.oauth2.id,
|
.client_credentials(&self.config.auth.oauth2.id, &self.config.auth.oauth2.secret)?;
|
||||||
&self.config.auth.oauth2.secret,
|
|
||||||
)?;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// Force format strings
|
// Force format strings
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let lorem =
|
let lorem = "ipsum dolor sit amet \
|
||||||
"ipsum dolor sit amet consectetur \
|
consectetur adipiscing elit \
|
||||||
adipiscing elit lorem ipsum dolor sit";
|
lorem ipsum dolor sit";
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// Force format strings
|
// Force format strings
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let lorem =
|
let lorem = "ipsum dolor sit amet \
|
||||||
"ipsum dolor sit amet consectetur \
|
consectetur adipiscing elit \
|
||||||
adipiscing elit lorem ipsum dolor sit";
|
lorem ipsum dolor sit";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
fn f() {
|
fn f() {
|
||||||
block_flow.base.stacking_relative_position_of_display_port =
|
block_flow.base.stacking_relative_position_of_display_port = self.base
|
||||||
self.base.stacking_relative_position_of_display_port;
|
.stacking_relative_position_of_display_port;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user