Skip to content

Commit 1e1b9b2

Browse files
author
Jorge Aparicio
committed
don't use 'static_in_const' feature as it's not yet in stable
1 parent acd121d commit 1e1b9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ use syn::*;
347347

348348
/// List of chars that some vendors use in their peripheral/field names but
349349
/// that are not valid in Rust ident
350-
const BLACKLIST_CHARS: &[char] = &['(', ')'];
350+
const BLACKLIST_CHARS: &'static [char] = &['(', ')'];
351351

352352
trait ToSanitizedPascalCase {
353353
fn to_sanitized_pascal_case(&self) -> Cow<str>;

0 commit comments

Comments
 (0)