From ccfb6055ea760537c5c9ae3761ccb6a54ae50181 Mon Sep 17 00:00:00 2001 From: Omer Sadika Date: Sat, 17 Jun 2023 20:32:30 +0300 Subject: [PATCH] Remove keywords from wit-component that are not in use anymore (#1076) --- crates/wit-component/src/printing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wit-component/src/printing.rs b/crates/wit-component/src/printing.rs index 7bb7b750e4..f3b67eca7c 100644 --- a/crates/wit-component/src/printing.rs +++ b/crates/wit-component/src/printing.rs @@ -706,8 +706,8 @@ fn is_keyword(name: &str) -> bool { "use" | "type" | "func" | "u8" | "u16" | "u32" | "u64" | "s8" | "s16" | "s32" | "s64" | "float32" | "float64" | "char" | "resource" | "record" | "flags" | "variant" | "enum" | "union" | "bool" | "string" | "option" | "result" | "future" | "stream" | "list" - | "shared" | "_" | "as" | "from" | "static" | "interface" | "tuple" | "implements" - | "world" | "import" | "export" | "default" | "pkg" | "self" | "package" | "with" => true, + | "shared" | "_" | "as" | "from" | "static" | "interface" | "tuple" | "world" + | "import" | "export" | "package" | "with" => true, _ => false, } }