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.
1 parent acd121d commit 1e1b9b2Copy full SHA for 1e1b9b2
src/lib.rs
@@ -347,7 +347,7 @@ use syn::*;
347
348
/// List of chars that some vendors use in their peripheral/field names but
349
/// that are not valid in Rust ident
350
-const BLACKLIST_CHARS: &[char] = &['(', ')'];
+const BLACKLIST_CHARS: &'static [char] = &['(', ')'];
351
352
trait ToSanitizedPascalCase {
353
fn to_sanitized_pascal_case(&self) -> Cow<str>;
0 commit comments