We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43f730d commit 633403bCopy full SHA for 633403b
src/util.rs
@@ -11,7 +11,7 @@ use errors::*;
11
12
/// List of chars that some vendors use in their peripheral/field names but
13
/// that are not valid in Rust ident
14
-const BLACKLIST_CHARS: &'static [char] = &['(', ')'];
+const BLACKLIST_CHARS: &'static [char] = &['(', ')', '[', ']'];
15
16
pub trait ToSanitizedPascalCase {
17
fn to_sanitized_pascal_case(&self) -> Cow<str>;
0 commit comments