summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-5260.rs
blob: 171f6fa51b78ee068a37ee18d84861b8e1ac8bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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`
}