use different example (C-like) for valid capitalized start of lint message

This commit is contained in:
Matthias Krüger 2021-02-28 14:01:03 +01:00
parent 24460f76cb
commit ebc5c8f271

View File

@ -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",