httpd: Use `HashSet` instead of `BTreeSet`
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
parent
d4d40b1492
commit
46951b1b42
|
|
@ -1,4 +1,4 @@
|
|||
use std::collections::BTreeSet;
|
||||
use std::collections::HashSet;
|
||||
|
||||
use axum::handler::Handler;
|
||||
use axum::http::{header, HeaderValue};
|
||||
|
|
@ -426,7 +426,7 @@ fn stats<R: WriteRepository>(repo: &R) -> Result<Stats, Error> {
|
|||
None
|
||||
}
|
||||
})
|
||||
.collect::<BTreeSet<_>>();
|
||||
.collect::<HashSet<_>>();
|
||||
|
||||
Ok(Stats {
|
||||
branches,
|
||||
|
|
|
|||
Loading…
Reference in New Issue