Merge pull request #2215 from iapain/master

Adds where_single_line in configuration documentation
This commit is contained in:
Seiichi Uchida 2017-12-01 10:41:42 +09:00 committed by GitHub
commit bd876b94b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -906,6 +906,37 @@ fn lorem() -> usize {
See also [`control_brace_style`](#control_brace_style).
## `where_single_line`
To force single line where layout
- **Default value**: `false`
- **Possible values**: `true`, `false`
#### `false` (default):
```rust
impl<T> Lorem for T
where
Option<T>: Ipsum,
{
...
}
```
#### `true`:
```rust
impl<T> Lorem for T
where Option<T>: Ipsum {
...
}
```
See also [`brace_style`](#brace_style), [`control_brace_style`](#control_brace_style).
## `force_explicit_abi`
Always print the abi for extern items