Skip to content

Commit

Permalink
shared: Add Rust 2018 keywords to keyword list
Browse files Browse the repository at this point in the history
  • Loading branch information
evestera committed Feb 4, 2019
1 parent 0a078f9 commit e6162ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions json_typegen_shared/src/generation/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ const RUST_KEYWORDS_ARR: &[&str] = &[
"macro", "match", "mod", "move", "mut", "offsetof", "override", "priv", "proc", "pub", "pure",
"ref", "return", "Self", "self", "sizeof", "static", "struct", "super", "trait", "true",
"type", "typeof", "unsafe", "unsized", "use", "virtual", "where", "while", "yield",
"async", "await", "try"
];

lazy_static! {
Expand Down

0 comments on commit e6162ea

Please sign in to comment.