Reorder imports by default
This commit is contained in:
parent
5516223900
commit
164cf7d6c9
1 changed files with 3 additions and 3 deletions
|
|
@ -70,11 +70,11 @@ create_config! {
|
||||||
// Ordering
|
// Ordering
|
||||||
reorder_extern_crates: bool, true, false, "Reorder extern crate statements alphabetically";
|
reorder_extern_crates: bool, true, false, "Reorder extern crate statements alphabetically";
|
||||||
reorder_extern_crates_in_group: bool, true, false, "Reorder extern crate statements in group";
|
reorder_extern_crates_in_group: bool, true, false, "Reorder extern crate statements in group";
|
||||||
reorder_imports: bool, false, false, "Reorder import statements alphabetically";
|
reorder_imports: bool, true, false, "Reorder import statements alphabetically";
|
||||||
reorder_imports_in_group: bool, false, false, "Reorder import statements in group";
|
reorder_imports_in_group: bool, true, false, "Reorder import statements in group";
|
||||||
reorder_imported_names: bool, true, false,
|
reorder_imported_names: bool, true, false,
|
||||||
"Reorder lists of names in import statements alphabetically";
|
"Reorder lists of names in import statements alphabetically";
|
||||||
reorder_modules: bool, false, false, "Reorder module statemtents alphabetically in group";
|
reorder_modules: bool, true, false, "Reorder module statemtents alphabetically in group";
|
||||||
|
|
||||||
// Spaces around punctuation
|
// Spaces around punctuation
|
||||||
binop_separator: SeparatorPlace, SeparatorPlace::Front, false,
|
binop_separator: SeparatorPlace, SeparatorPlace::Front, false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue