rust/tests/target/skip/preserve_trailing_comment.rs
Yacin Tmimi f40b1d9f1a Backport: Do not touch module with #![rustfmt::skip] (4297)
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.
2021-12-07 18:45:00 -06:00

8 lines
85 B
Rust

#![rustfmt::skip]
fn main() {
println!("Hello, world!");
}
// Trailing Comment