From 8afe367510b7434f11f95cff2e62ebb544325de5 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 18 May 2018 16:37:55 +1200 Subject: [PATCH] stabilise shorthand options cc #1974 --- src/config/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index ed480aa9fa1..6f9a5fdec78 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -110,11 +110,11 @@ // Options that can change the source code beyond whitespace/blocks (somewhat linty things) merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one"; - use_try_shorthand: bool, false, false, "Replace uses of the try! macro by the ? shorthand"; + use_try_shorthand: bool, false, true, "Replace uses of the try! macro by the ? shorthand"; + use_field_init_shorthand: bool, false, true, "Use field initialization shorthand if possible"; + force_explicit_abi: bool, true, true, "Always print the abi for extern items"; condense_wildcard_suffixes: bool, false, false, "Replace strings of _ wildcards by a single .. \ in tuple patterns"; - force_explicit_abi: bool, true, true, "Always print the abi for extern items"; - use_field_init_shorthand: bool, false, false, "Use field initialization shorthand if possible"; // Control options (changes the operation of rustfmt, rather than the formatting) write_mode: WriteMode, WriteMode::Overwrite, false,