Skip to content

Commit

Permalink
Remove keywords from wit-component that are not in use anymore (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
omersadika authored Jun 17, 2023
1 parent 4b69456 commit ccfb605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wit-component/src/printing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit ccfb605

Please sign in to comment.