Skip to content

Commit

Permalink
fix(semantic): correct comment (#4410)
Browse files Browse the repository at this point in the history
Correct a code comment.
  • Loading branch information
overlookmotel committed Jul 22, 2024
1 parent 0deb027 commit bc8d4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_semantic/src/unresolved_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl UnresolvedReferencesStack {
pub(crate) fn increment_scope_depth(&mut self) {
self.current_scope_depth += 1;

// Grow stack if required to ensure `self.stack[self.depth]` is in bounds
// Grow stack if required to ensure `self.stack[self.current_scope_depth]` is in bounds
if self.stack.len() <= self.current_scope_depth {
self.stack.push(UnresolvedReferences::default());
}
Expand Down

0 comments on commit bc8d4e5

Please sign in to comment.