mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-08 13:55:25 +00:00
7ccf5d404b
Add `imports_granularity = "Module"` to rustfmt.toml This lets rustfmt split/merge imports, `Module` seems to be the most common style in clippy https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#imports_granularity changelog: none Almost all the updates other than the config file change are from `cargo dev fmt` or blessed tests, the exceptions being - `tests/ui/single_component_path_imports.rs` - `tests/ui/single_component_path_imports_nested_first.rs` - `tests/ui/single_component_path_imports_self_after.rs` - `tests/ui/single_component_path_imports_self_before.rs` - `tests/ui/unsafe_removed_from_name.rs` (added a test with merged imports as a drive by) - `tests/ui/wildcard_imports.rs` - `tests/ui/wildcard_imports_2021.rs` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |