mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
docs(napi/parser): correct code comment (#22278)
Just fix a small inaccuracy in a comment.
This commit is contained in:
1 parent
e9c88dc508
commit
a4a6892f2c
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export function wrap(result) {
|
||||
//
|
||||
// Returned JSON contains an array `fixes` with paths to these nodes
|
||||
// e.g. for `123n; foo(/xyz/)`, `fixes` will be
|
||||
// `[["body", 0, "expression"], ["body", 1, "expression", "arguments", 2]]`.
|
||||
// `[["body", 0, "expression"], ["body", 1, "expression", "arguments", 0]]`.
|
||||
//
|
||||
// Walk down the AST to these nodes and alter them.
|
||||
// Compiling the list of fixes on Rust side avoids having to do a full AST traversal on JS side
|
||||
|
||||
Reference in new issue
Block a user