2018-02-15 01:34:22 -06:00
|
|
|
// Preserve two trailing whitespaces in doc comment,
|
|
|
|
// but trim any whitespaces in normal comment.
|
|
|
|
|
2018-02-13 03:27:54 -06:00
|
|
|
//! hello world
|
|
|
|
//! hello world
|
|
|
|
|
2018-02-15 01:41:47 -06:00
|
|
|
/// hello world
|
2018-02-13 03:27:54 -06:00
|
|
|
/// hello world
|
2018-02-15 01:34:22 -06:00
|
|
|
/// hello world
|
2018-02-13 03:27:54 -06:00
|
|
|
fn foo() {
|
|
|
|
// hello world
|
|
|
|
// hello world
|
|
|
|
let x = 3;
|
|
|
|
println!("x = {}", x);
|
|
|
|
}
|