Skip to content

Commit 83d25ce

Browse files
committed
refactor(linter): fix typo in comment (#13125)
1 parent 18ad3c0 commit 83d25ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi/oxlint2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn wrap_lint_file(cb: JsLintFileCb) -> ExternalLinterLintFileCb {
8080
// A flag in `FixedSizeAllocatorMetadata` records whether the buffer has already been transferred
8181
// to JS or not. If it hasn't, send it. Otherwise, just send the ID of the buffer which is the
8282
// index of that buffer in the array on JS side, and JS side will get the buffer from the array.
83-
// This means there's only even 1 instance of a buffer on Rust side, and 1 on JS side,
83+
// This means there's only ever 1 instance of a buffer on Rust side, and 1 on JS side,
8484
// which makes it simpler to avoid use-after-free or double-free problems.
8585

8686
// SAFETY: This crate enables the `fixed_size` feature on `oxc_allocator`, so all AST `Allocator`s

0 commit comments

Comments
 (0)