From 37ee9c20aafe260f4f61595ab196bbe819af62d3 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Sat, 31 Mar 2018 18:51:41 -0400 Subject: [PATCH] Improve where_single_line help --- Configurations.md | 2 +- src/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations.md b/Configurations.md index 13c7acaed4f..f11c9b95d03 100644 --- a/Configurations.md +++ b/Configurations.md @@ -889,7 +889,7 @@ See also [`control_brace_style`](#control_brace_style). ## `where_single_line` -To force single line where layout +Forces the `where` clause to be laid out on a single line. - **Default value**: `false` - **Possible values**: `true`, `false` diff --git a/src/config/mod.rs b/src/config/mod.rs index 5d5e91ebaed..87f6a86a526 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -61,7 +61,7 @@ create_config! { struct_lit_single_line: bool, true, false, "Put small struct literals on a single line"; fn_single_line: bool, false, false, "Put single-expression functions on a single line"; - where_single_line: bool, false, false, "To force single line where layout"; + where_single_line: bool, false, false, "Force where clauses to be on a single line"; // Imports imports_indent: IndentStyle, IndentStyle::Visual, false, "Indent of imports";