bc46af9742
Resolves 5033 Trailing comments at the end of the root Module were removed because the module span did not extend until the end of the file. The root Module's span now encompasses the entire file, which ensures that no comments are lost when using ``#![rustfmt::skip]``
12 lines
98 B
Rust
12 lines
98 B
Rust
#![rustfmt::skip]
|
|
|
|
mod a {
|
|
mod b {
|
|
|
|
}
|
|
|
|
// trailing comment b
|
|
}
|
|
|
|
// trailing comment a
|