Fixing force_multiline_blocks=true
snippet
This commit is contained in:
parent
f624f6b5a6
commit
8d0497bf83
@ -1179,21 +1179,22 @@ fn main() {
|
||||
#### `true`:
|
||||
|
||||
```rust
|
||||
|
||||
result.and_then(|maybe_value| {
|
||||
match maybe_value {
|
||||
None => ...,
|
||||
Some(value) => ...,
|
||||
}
|
||||
})
|
||||
|
||||
match lorem {
|
||||
None => {
|
||||
if ipsum {
|
||||
println!("Hello World");
|
||||
fn main() {
|
||||
result.and_then(|maybe_value| {
|
||||
match maybe_value {
|
||||
None => foo(),
|
||||
Some(value) => bar(),
|
||||
}
|
||||
});
|
||||
|
||||
match lorem {
|
||||
None => {
|
||||
if ipsum {
|
||||
println!("Hello World");
|
||||
}
|
||||
}
|
||||
Some(dolor) => foo(),
|
||||
}
|
||||
Some(dolor) => ...,
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user