-
Notifications
You must be signed in to change notification settings - Fork 925
/
Copy pathtrue.rs
40 lines (31 loc) · 848 Bytes
/
true.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// rustfmt-indent_blank_lines: true
fn foo() {
if true {
println!("a");
match 4 {
0 => {
println!("b");
println!("c");
// FIXME: empty lines between match arms currently ignore this configuration:
}
x => {
x = x
.wrapping_add({
// inner block
let a = 4;
a + 5
})
.unwrap();
if x > 10 {
println!("{x}");
println!("{x}");
}
}
}
}
}
fn bar()
where
u32: Sized, // FIXME: empty lines between where bounds ignores it
i32: Sized,
{}