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 =
|
||||
xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold(
|
||||
0,
|
||||
|acc, x| acc + x,
|
||||
);
|
||||
xxxxxxx.map(|x| x + 5)
|
||||
.map(|x| x / 2)
|
||||
.fold(0, |acc, x| acc + x);
|
||||
|
||||
aaaaaaaaaaaaaaaa.map(|x| {
|
||||
x += 1;
|
||||
|
@ -18,18 +18,15 @@ fn main() {
|
||||
));
|
||||
|
||||
// chain
|
||||
let x = yooooooooooooo.fooooooooooooooo.baaaaaaaaaaaaar(
|
||||
hello,
|
||||
world,
|
||||
);
|
||||
let x = yooooooooooooo
|
||||
.fooooooooooooooo
|
||||
.baaaaaaaaaaaaar(hello, world);
|
||||
|
||||
// #1380
|
||||
{
|
||||
{
|
||||
let creds = self.client.client_credentials(
|
||||
&self.config.auth.oauth2.id,
|
||||
&self.config.auth.oauth2.secret,
|
||||
)?;
|
||||
let creds = self.client
|
||||
.client_credentials(&self.config.auth.oauth2.id, &self.config.auth.oauth2.secret)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Force format strings
|
||||
|
||||
fn main() {
|
||||
let lorem =
|
||||
"ipsum dolor sit amet consectetur \
|
||||
adipiscing elit lorem ipsum dolor sit";
|
||||
let lorem = "ipsum dolor sit amet \
|
||||
consectetur adipiscing elit \
|
||||
lorem ipsum dolor sit";
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
// Force format strings
|
||||
|
||||
fn main() {
|
||||
let lorem =
|
||||
"ipsum dolor sit amet consectetur \
|
||||
adipiscing elit lorem ipsum dolor sit";
|
||||
let lorem = "ipsum dolor sit amet \
|
||||
consectetur adipiscing elit \
|
||||
lorem ipsum dolor sit";
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
fn f() {
|
||||
block_flow.base.stacking_relative_position_of_display_port =
|
||||
self.base.stacking_relative_position_of_display_port;
|
||||
block_flow.base.stacking_relative_position_of_display_port = self.base
|
||||
.stacking_relative_position_of_display_port;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user