Skip to content

Commit

Permalink
docs(traverse): correct code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Sep 8, 2024
1 parent 97e99bd commit 6fb8d2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/oxc_traverse/src/context/scoping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ impl TraverseScoping {
///
/// This function is fairly expensive, because it aims to replicate Babel's output.
/// `name_is_unique` method below searches through every single binding in the entire program
/// and does a string comparison on each. It also searches through every reference in entire program
/// (though it will avoid string comparison on most of them).
/// and does a string comparison on each.
/// If the first name tried is already in use, it will repeat that entire search with a new name,
/// potentially multiple times.
///
Expand Down

0 comments on commit 6fb8d2b

Please sign in to comment.