Skip to content

Commit

Permalink
Wrapping match_arm_blocks=true snippet in function
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalber committed Jan 26, 2018
1 parent d273935 commit 42efa7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Configurations.md
Expand Up @@ -1841,11 +1841,13 @@ Wrap the body of arms in blocks when it does not fit on the same line with the p
#### `true` (default):

```rust
match lorem {
true => {
foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(x)
fn main() {
match lorem {
true => {
foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(x)
}
false => println!("{}", sit),
}
false => println!("{}", sit),
}
```

Expand Down

0 comments on commit 42efa7c

Please sign in to comment.