Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 12, 2024
1 parent c0f0427 commit 490b991
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/swc_ecma_lints/src/rules/no_dupe_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ struct NoDupeArgs {}
/// is usually small.
macro_rules! check {
($node:expr) => {{
// This allocates only if there are duplicate parameters.
// This vector allocates only if there are duplicate parameters.
// This is used to handle the case where the same parameter is used 3 or more
// times.
let mut done = vec![];

let mut i1 = 0;
Expand Down

0 comments on commit 490b991

Please sign in to comment.