blob: 2c4d6a5cc2be9e48df52bc50d682c1bcf443374f [file] [log] [blame] [edit]
// rustfmt-wrap_comments: true
// Preserve two trailing whitespaces in doc comment,
// but trim any whitespaces in normal comment.
//! hello world
//! hello world
/// hello world
/// hello world
/// hello world
fn foo() {
// hello world
// hello world
let x = 3;
println!("x = {}", x);
}