summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-5260.rs
blob: c0606817290cde01b0455d168b5e7f0fc5d78800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// rustfmt-wrap_comments: true

/// [MyType](VeryLongPathToMyType::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks)
fn documented_with_longtype() {
    // # We're using a long type link, rustfmt should not break line
    // on the type when `wrap_comments = true`
}

/// VeryLongPathToMyType::JustMyType::But::VeryVery::Long::NoLineBreak::Here::Okay::ThatWouldBeNice::Thanks
fn documented_with_verylongtype() {
    // # We're using a long type link, rustfmt should not break line
    // on the type when `wrap_comments = true`
}