Update names on where_style code snippets
This commit is contained in:
parent
e9c81cd537
commit
40db2af18e
@ -1842,19 +1842,6 @@ Overall strategy for where clauses
|
||||
- **Default value**: `"Rfc"`
|
||||
- **Possible values**: `"Rfc"`, `"Legacy"`
|
||||
|
||||
#### `"Default"`:
|
||||
|
||||
```rust
|
||||
fn lorem<Ipsum, Dolor, Sit, Amet>() -> T
|
||||
where Ipsum: Eq,
|
||||
Dolor: Eq,
|
||||
Sit: Eq,
|
||||
Amet: Eq
|
||||
{
|
||||
// body
|
||||
}
|
||||
```
|
||||
|
||||
#### `"Rfc"`:
|
||||
|
||||
```rust
|
||||
@ -1869,6 +1856,19 @@ where
|
||||
}
|
||||
```
|
||||
|
||||
#### `"Legacy"`:
|
||||
|
||||
```rust
|
||||
fn lorem<Ipsum, Dolor, Sit, Amet>() -> T
|
||||
where Ipsum: Eq,
|
||||
Dolor: Eq,
|
||||
Sit: Eq,
|
||||
Amet: Eq
|
||||
{
|
||||
// body
|
||||
}
|
||||
```
|
||||
|
||||
See also: [`where_density`](#where_density), [`where_layout`](#where_layout), [`where_pred_indent`](#where_pred_indent).
|
||||
|
||||
## `wrap_comments`
|
||||
|
Loading…
x
Reference in New Issue
Block a user