]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/markdown-comment.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / source / markdown-comment.rs
CommitLineData
f20569fa
XL
1// Preserve two trailing whitespaces in doc comment,
2// but trim any whitespaces in normal comment.
3
4//! hello world
5//! hello world
6
7/// hello world
8/// hello world
9/// hello world
10fn foo() {
11 // hello world
12 // hello world
13 let x = 3;
14 println!("x = {}", x);
15}