mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 10:04:23 +00:00
12 lines
226 B
Rust
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;
|
|
}
|