From 70ac09fe62c323ff047d3bde73886ad2621d5db1 Mon Sep 17 00:00:00 2001 From: nissy-dev Date: Sun, 6 Aug 2023 16:19:01 +0900 Subject: [PATCH] fix: update comments --- crates/rome_js_parser/src/syntax/stmt.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/rome_js_parser/src/syntax/stmt.rs b/crates/rome_js_parser/src/syntax/stmt.rs index 4e657fadd62..caed12b3578 100644 --- a/crates/rome_js_parser/src/syntax/stmt.rs +++ b/crates/rome_js_parser/src/syntax/stmt.rs @@ -1171,8 +1171,7 @@ pub(super) enum VariableDeclarationParent { Clause, } -/// Parses a variable declaration that consist of a variable kind (`let`, `const`, `using` or `var` and a list -/// of variable declarators). +/// Parses and consume variable declarations like `var`/`let`/`const`/`using`/`await using`. /// Returns a tuple where /// * the first element is the marker to the not yet completed list /// * the second element is the range of all variable declarations except the first one. Is [None] if