Wrapping control_brace_style="ClosingNextLine" snippet in function

This commit is contained in:
David Alber 2018-01-14 16:51:31 -08:00
parent ba7f3ab718
commit 7e7370756c

View File

@ -556,11 +556,13 @@ fn main() {
#### `"ClosingNextLine"`:
```rust
if lorem {
println!("ipsum!");
}
else {
println!("dolor!");
fn main() {
if lorem {
println!("ipsum!");
}
else {
println!("dolor!");
}
}
```