rust/rustfmt-core/tests/source/issue-1120.rs
2018-02-07 22:48:05 +09:00

10 lines
224 B
Rust

// rustfmt-reorder_imports: true
// Ensure that a use at the start of an inline module is correctly formatted.
mod foo {use bar;}
// Ensure that an indented `use` gets the correct indentation.
mod foo {
use bar;
}