Update names on where_style code snippets

This commit is contained in:
Phil Ellison 2017-06-18 09:34:24 +01:00
parent e9c81cd537
commit 40db2af18e

View File

@ -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`