Skip to content

Commit 476ec77

Browse files
committed
Wrapping match_arm_blocks=false snippet in function
1 parent 42efa7c commit 476ec77

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Configurations.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,10 +1854,12 @@ fn main() {
18541854
#### `false`:
18551855

18561856
```rust
1857-
match lorem {
1858-
true =>
1859-
foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(x),
1860-
false => println!("{}", sit),
1857+
fn main() {
1858+
match lorem {
1859+
true =>
1860+
foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(x),
1861+
false => println!("{}", sit),
1862+
}
18611863
}
18621864
```
18631865

0 commit comments

Comments
 (0)