From 46951b1b42b4550d0cd9f82e6f7138627bc55266 Mon Sep 17 00:00:00 2001 From: xphoniex Date: Thu, 8 Dec 2022 19:33:25 +0000 Subject: [PATCH] httpd: Use `HashSet` instead of `BTreeSet` Signed-off-by: xphoniex --- radicle-httpd/src/api/v1/projects.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs index 5f351946..c8b24f9d 100644 --- a/radicle-httpd/src/api/v1/projects.rs +++ b/radicle-httpd/src/api/v1/projects.rs @@ -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(repo: &R) -> Result { None } }) - .collect::>(); + .collect::>(); Ok(Stats { branches,