From 73afe562f1ab40114a91d3facf90b36e63280b21 Mon Sep 17 00:00:00 2001 From: Deepak Thukral Date: Thu, 30 Nov 2017 13:01:41 +0100 Subject: [PATCH] docs: Adds where_single_line in configuration documentation --- Configurations.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Configurations.md b/Configurations.md index 7726193fafe..aaf6d813320 100644 --- a/Configurations.md +++ b/Configurations.md @@ -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 Lorem for T +where + Option: Ipsum, +{ + ... +} +``` + +#### `true`: + +```rust +impl Lorem for T where + Option: Ipsum { + ... +} +``` + +See also [`brace_style`](#brace_style), [`control_brace_style`](#control_brace_style). + + ## `force_explicit_abi` Always print the abi for extern items -- 2.44.0