]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-5260.rs
Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup
[rust.git] / src / tools / rustfmt / tests / target / 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 }