rust/tests/target/markdown-comment-with-options.rs

18 lines
315 B
Rust
Raw Normal View History

// 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);
}