Skip to content

Commit 4404a5e

Browse files
committed
include unsafe keyword
No doubt there are more...
1 parent 61d2fe0 commit 4404a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/formality-macros/src/constructors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use synstructure::VariantInfo;
55

66
const RUST_KEYWORDS: &[&str] = &[
77
"mut", "true", "false", "const", "static", "ref", "struct", "enum", "trait", "union", "fn",
8-
"use", "return", "move", "let", "break", "loop", "continue", "await", "if", "for",
8+
"use", "return", "move", "let", "break", "loop", "continue", "await", "if", "for", "unsafe",
99
];
1010

1111
/// Create methods to build this type.

0 commit comments

Comments
 (0)