mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 21:53:56 +00:00
Wrapping indent_style="Visual"
struct snippet in function
This commit is contained in:
parent
c6a18143a8
commit
e2ffee7cf8
@ -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…
Reference in New Issue
Block a user