diff --git a/rustfmt.toml b/rustfmt.toml index 45031bb99..fcb76e1e0 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,5 +1,3 @@ -version = "Two" - # Make Rust more readable given most people have wide screens nowadays. # This is also the setting used by [rustc](https://github.com/rust-lang/rust/blob/master/rustfmt.toml) use_small_heuristics = "Max" @@ -7,14 +5,12 @@ use_small_heuristics = "Max" # Use field initialize shorthand if possible use_field_init_shorthand = true -# Supported by nightly Rust -unstable_features = true - -# Provide a cleaner import sort order -group_imports = "StdExternalCrate" - +# All unstable features that we wish for +# unstable_features = true +# version = "Two" # Provide a cleaner impl order -reorder_impl_items = true - +# reorder_impl_items = true +# Provide a cleaner import sort order +# group_imports = "StdExternalCrate" # Group "use" statements by crate -imports_granularity = "Crate" +# imports_granularity = "Crate"