summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-2526.rs
blob: 7dd58aba3187df574bdb689c9bfaccdeebc2091a (plain)
1
2
3
4
5
6
7
8
// Test that rustfmt will not warn about comments exceeding max width around lifetime.
// See #2526.

// comment comment comment comment comment comment comment comment comment comment comment comment comment
fn foo() -> F<'a> {
    bar()
}
// comment comment comment comment comment comment comment comment comment comment comment comment comment