Wrapping indent_style="Visual" struct snippet in function
This commit is contained in:
parent
c6a18143a8
commit
e2ffee7cf8
1 changed files with 4 additions and 2 deletions
|
|
@ -221,8 +221,10 @@ fn main() {
|
|||
#### `"Visual"`:
|
||||
|
||||
```rust
|
||||
let lorem = Lorem { ipsum: dolor,
|
||||
sit: amet, };
|
||||
fn main() {
|
||||
let lorem = Lorem { ipsum: dolor,
|
||||
sit: amet, };
|
||||
}
|
||||
```
|
||||
|
||||
See also: [`struct_lit_single_line`](#struct_lit_single_line), [`indent_style`](#indent_style).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue