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

11 lines
295 B
Rust
Raw Normal View History

// rustfmt-reorder_imports: true
// rustfmt-reorder_imported_names: true
/// This comment should stay with `use std::str;`
use std::str;
use std::cmp::{d, c, b, a};
use std::ddd::aaa;
use std::ddd::{d as p, c as g, b, a};
// This comment should stay with `use std::ddd:bbb;`
use std::ddd::bbb;