]> git.lizzy.rs Git - rust.git/commitdiff
Break before '|' for multi-lined match arm pattern
authortopecongiro <seuchida@gmail.com>
Thu, 16 Nov 2017 07:41:09 +0000 (16:41 +0900)
committertopecongiro <seuchida@gmail.com>
Thu, 16 Nov 2017 08:43:06 +0000 (17:43 +0900)
src/config.rs

index c76933ca509773a805c67bf1b1123cf5b287d52b..9fbdfc2754b8cc4664ae6d4f5fd88b77f362cbc9 100644 (file)
@@ -611,7 +611,7 @@ pub fn get_toml_path(dir: &Path) -> Result<Option<PathBuf>, Error> {
         "Force match arm bodies to be in a new lines";
     indent_match_arms: bool, true, false, "Indent match arms instead of keeping them at the same \
                                     indentation level as the match keyword";
-    match_pattern_separator_break_point: SeparatorPlace, SeparatorPlace::Back, false,
+    match_pattern_separator_break_point: SeparatorPlace, SeparatorPlace::Front, false,
         "Put a match sub-patterns' separator in front or back.";
     space_before_colon: bool, false, false, "Leave a space before the colon";
     space_after_colon: bool, true, false, "Leave a space after the colon";