rust/tests/target/imports-reorder-lines-and-items.rs

11 lines
295 B
Rust
Raw Normal View History

// rustfmt-reorder_imports: true
// rustfmt-reorder_imported_names: true
use std::cmp::{a, b, c, d};
use std::ddd::aaa;
2018-03-14 20:06:54 -05:00
use std::ddd::{a, b, c as g, d as p};
/// This comment should stay with `use std::str;`
use std::str;
2018-03-14 20:06:54 -05:00
// This comment should stay with `use std::ddd:bbb;`
use std::ddd::bbb;