Skip to content

Commit 9905c56

Browse files
committed
Add a test for #2526
1 parent c829875 commit 9905c56

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/target/issue-2526.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Test that rustfmt will not warn about comments exceeding max width around lifetime.
2+
// See #2526.
3+
4+
// comment comment comment comment comment comment comment comment comment comment comment comment comment
5+
fn foo() -> F<'a> {
6+
bar()
7+
}
8+
// comment comment comment comment comment comment comment comment comment comment comment comment comment

0 commit comments

Comments
 (0)