Skip to content

Commit ebc5c8f

Browse files
committed
use different example (C-like) for valid capitalized start of lint message
1 parent 24460f7 commit ebc5c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lint_message_convention.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl Message {
2828
])
2929
.unwrap();
3030

31-
// sometimes the first character is capitalized and it is legal (like in "Iterator...") or
31+
// sometimes the first character is capitalized and it is legal (like in "C-like enum variants") or
3232
// we want to ask a question ending in "?"
3333
let exceptions_set: RegexSet = RegexSet::new(&[
3434
r".*C-like enum variant discriminant is not portable to 32-bit targets",

0 commit comments

Comments
 (0)