use different example (C-like) for valid capitalized start of lint message
This commit is contained in:
parent
24460f76cb
commit
ebc5c8f271
@ -28,7 +28,7 @@ fn new(path: PathBuf) -> Self {
|
||||
])
|
||||
.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",
|
||||
|
Loading…
Reference in New Issue
Block a user