From 872d751a18020a3f84309126d6892010da24bba9 Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Mon, 29 Jan 2024 16:53:56 +0000 Subject: [PATCH] refactor(parser): re-order match branches (#2209) Just a tiny bit of code tidying. --- crates/oxc_parser/src/lexer/kind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_parser/src/lexer/kind.rs b/crates/oxc_parser/src/lexer/kind.rs index ed8861a04..e05292865 100644 --- a/crates/oxc_parser/src/lexer/kind.rs +++ b/crates/oxc_parser/src/lexer/kind.rs @@ -418,6 +418,7 @@ impl Kind { "never" => Never, "super" => Super, "throw" => Throw, + "using" => Using, "while" => While, "yield" => Yield, @@ -439,7 +440,6 @@ impl Kind { "target" => Target, "typeof" => Typeof, "unique" => Unique, - "using" => Using, "asserts" => Asserts, "boolean" => Boolean,