From 5c40a30abf279555035c4729bb20b9b6cc53b7cc Mon Sep 17 00:00:00 2001 From: David Siegel Date: Mon, 12 Feb 2024 20:30:17 -0800 Subject: [PATCH] Revert "added option to rust keywords (#2399)" This reverts commit 838c5e0e63a50d7c7790dc81118e664480fc4a80. --- packages/quicktype-core/src/language/Rust.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/quicktype-core/src/language/Rust.ts b/packages/quicktype-core/src/language/Rust.ts index 3e3a3b89b..93b0a1b33 100644 --- a/packages/quicktype-core/src/language/Rust.ts +++ b/packages/quicktype-core/src/language/Rust.ts @@ -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 => {