Return grouping extern crate to true by default

This commit is contained in:
Nick Cameron 2018-03-20 09:54:00 +13:00
parent bf9f175336
commit 3a138a24a3
2 changed files with 9 additions and 6 deletions

View File

@ -69,7 +69,7 @@ create_config! {
// Ordering
reorder_extern_crates: bool, true, false, "Reorder extern crate statements alphabetically";
reorder_extern_crates_in_group: bool, false, false, "Reorder extern crate statements in group";
reorder_extern_crates_in_group: bool, true, false, "Reorder extern crate statements in group";
reorder_imports: bool, true, false, "Reorder import statements alphabetically";
reorder_imports_in_group: bool, true, false, "Reorder import statements in group";
reorder_imported_names: bool, true, false,

View File

@ -1,14 +1,17 @@
// rustfmt-normalize_comments: true
extern crate bar;
extern crate chrono;
extern crate dotenv;
extern crate foo;
extern crate foo;
extern crate foo as bar;
extern crate chrono;
extern crate dotenv;
extern crate futures;
extern crate proc_macro;
extern crate bar;
extern crate foo;
// #2315
extern crate proc_macro;
extern crate proc_macro2;
extern "C" {