1 // rustfmt-wrap_comments: true
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`
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`