Skip to content

Commit

Permalink
Revert "added option to rust keywords (#2399)"
Browse files Browse the repository at this point in the history
This reverts commit 838c5e0.
  • Loading branch information
dvdsgl committed Feb 13, 2024
1 parent 838c5e0 commit 5c40a30
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/quicktype-core/src/language/Rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,7 @@ const keywords = [
"default",
"dyn",
"'static",
"union",

// Conflict between `std::Option` and potentially generated Option
"option"
"union"
];

const isAsciiLetterOrUnderscoreOrDigit = (codePoint: number): boolean => {
Expand Down

0 comments on commit 5c40a30

Please sign in to comment.