f40b1d9f1a
Although the implementation is slightly different than the original PR, the general idea is the same. After collecting all modules we want to exclude formatting those that contain the #![rustfmt::skip] attribute.
10 lines
98 B
Rust
10 lines
98 B
Rust
#![rustfmt::skip]
|
|
|
|
mod foo;
|
|
mod one;
|
|
|
|
fn main() {println!("Hello, world!");
|
|
}
|
|
|
|
// trailing commet
|