rust/tests/target/issue-1120.rs
Stuart Dootson 4029b0e704 Fix #1120 - rework how the use list prefix is determined. (#1121)
* Fix #1120 - rework how the use list prefix is determined.

* Added test commentary & another test case
2016-08-10 18:13:27 +12:00

12 lines
226 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;
}