]> git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/source/issue-5260.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / issue-5260.rs
1 // rustfmt-wrap_comments: true
2
3 /// [MyType](VeryLongPathToMyType::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks)
4 fn documented_with_longtype() {
5 // # We're using a long type link, rustfmt should not break line
6 // on the type when `wrap_comments = true`
7 }
8
9 /// VeryLongPathToMyType::JustMyType::But::VeryVery::Long::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks
10 fn documented_with_verylongtype() {
11 // # We're using a long type link, rustfmt should not break line
12 // on the type when `wrap_comments = true`
13 }
14