]> git.lizzy.rs Git - rust.git/commitdiff
Set reorder_imported_names to true as default
authortopecongiro <seuchida@gmail.com>
Thu, 13 Jul 2017 09:42:49 +0000 (18:42 +0900)
committertopecongiro <seuchida@gmail.com>
Thu, 13 Jul 2017 09:42:49 +0000 (18:42 +0900)
src/config.rs

index 995e6164cf4580c9288f4012ca1f4f7a8ad94ea3..58638899bd253d09683145a92784172b37ead2ad 100644 (file)
@@ -558,7 +558,7 @@ pub fn get_toml_path(dir: &Path) -> Result<Option<PathBuf>, Error> {
                                             exceeds `chain_one_line_max`";
     reorder_imports: bool, false, "Reorder import statements alphabetically";
     reorder_imports_in_group: bool, false, "Reorder import statements in group";
-    reorder_imported_names: bool, false,
+    reorder_imported_names: bool, true,
         "Reorder lists of names in import statements alphabetically";
     single_line_if_else_max_width: usize, 50, "Maximum line length for single line if-else \
                                                 expressions. A value of zero means always break \