mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
78b52ec3e1
* Add config options for combinations of lines and items * Reordering of import lines implemented. * Changed nested matches to tuple pattern matching * Added ordering of path list items to the ordering of use declarations * Move `format_imports` and `format_import` methods to `imports.rs` * Add comment to explain how `use` declarations are split off while walking through a module * Change `ImportReordering` config option to separate boolean options
6 lines
117 B
Rust
6 lines
117 B
Rust
// rustfmt-reorder_imported_names: true
|
|
|
|
use path::{C,/*A*/ A, B /* B */, self /* self */};
|
|
|
|
use {ab, ac, aa, Z, b};
|