blob: 1ec26562fe2824af64c7c6e24c2c191220ffcf5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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);
}
|