docs: Adds where_single_line in configuration documentation

This commit is contained in:
Deepak Thukral 2017-11-30 13:01:41 +01:00
parent b8106eb2aa
commit 73afe562f1

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