We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce97ac4 + e035793 commit f271405Copy full SHA for f271405
src/util.rs
@@ -12,7 +12,7 @@ pub const BITS_PER_BYTE: u32 = 8;
12
13
/// List of chars that some vendors use in their peripheral/field names but
14
/// that are not valid in Rust ident
15
-const BLACKLIST_CHARS: &'static [char] = &['(', ')', '[', ']'];
+const BLACKLIST_CHARS: &'static [char] = &['(', ')', '[', ']', '/', ' '];
16
17
pub trait ToSanitizedPascalCase {
18
fn to_sanitized_pascal_case(&self) -> Cow<str>;
0 commit comments