mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
18 lines
320 B
Rust
18 lines
320 B
Rust
// 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);
|
|
}
|