Skip to content

Commit

Permalink
use different example (C-like) for valid capitalized start of lint me…
Browse files Browse the repository at this point in the history
…ssage
  • Loading branch information
matthiaskrgr committed Feb 28, 2021
1 parent 24460f7 commit ebc5c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lint_message_convention.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Message {
])
.unwrap();

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

0 comments on commit ebc5c8f

Please sign in to comment.