Wrapping trailing_comma=Never
snippet in function
This commit is contained in:
parent
6c92808060
commit
61630bc6f5
@ -1720,15 +1720,17 @@ fn main() {
|
||||
#### `"Never"`:
|
||||
|
||||
```rust
|
||||
let Lorem { ipsum, dolor, sit } = amet;
|
||||
let Lorem {
|
||||
ipsum,
|
||||
dolor,
|
||||
sit,
|
||||
amet,
|
||||
consectetur,
|
||||
adipiscing
|
||||
} = elit;
|
||||
fn main() {
|
||||
let Lorem { ipsum, dolor, sit } = amet;
|
||||
let Lorem {
|
||||
ipsum,
|
||||
dolor,
|
||||
sit,
|
||||
amet,
|
||||
consectetur,
|
||||
adipiscing
|
||||
} = elit;
|
||||
}
|
||||
```
|
||||
|
||||
See also: [`match_block_trailing_comma`](#match_block_trailing_comma).
|
||||
|
Loading…
x
Reference in New Issue
Block a user