Wrapping control_brace_style="ClosingNextLine"
snippet in function
This commit is contained in:
parent
ba7f3ab718
commit
7e7370756c
@ -556,11 +556,13 @@ fn main() {
|
||||
#### `"ClosingNextLine"`:
|
||||
|
||||
```rust
|
||||
if lorem {
|
||||
println!("ipsum!");
|
||||
}
|
||||
else {
|
||||
println!("dolor!");
|
||||
fn main() {
|
||||
if lorem {
|
||||
println!("ipsum!");
|
||||
}
|
||||
else {
|
||||
println!("dolor!");
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user