mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
16 lines
288 B
Rust
16 lines
288 B
Rust
// 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);
|
|
}
|