Skip to content

Commit

Permalink
refactor(complete): Remove redundant dedup
Browse files Browse the repository at this point in the history
Our `id` de-duping takes care of this.
  • Loading branch information
epage committed Sep 20, 2024
1 parent 2450ca7 commit a126149
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clap_complete/src/engine/complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ fn complete_subcommand(value: &str, cmd: &clap::Command) -> Vec<CompletionCandid
.filter(|x| x.get_value().starts_with(value))
.collect::<Vec<_>>();
scs.sort();
scs.dedup();
scs
}

Expand Down

0 comments on commit a126149

Please sign in to comment.