Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish source api #415

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
(fix) sort before dedup
  • Loading branch information
sunng87 committed Feb 18, 2021
commit 814a537e9b6b54c6b621ab5f54fa63d7ae60957c
1 change: 1 addition & 0 deletions src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ impl<'reg> Registry<'reg> {
.chain(self.template_sources.keys())
.cloned()
.collect::<Vec<String>>();
name.sort();
names.dedup();
names
}
Expand Down