From ee3af57f4dcf2b9f3ea4210b799954d8d72d9f2d Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 6 Jun 2025 13:30:12 +1000 Subject: [PATCH] Fix `SparseRegistery::url` return type Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/binstalk-registry/src/sparse_registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/binstalk-registry/src/sparse_registry.rs b/crates/binstalk-registry/src/sparse_registry.rs index 48a4f5b2..2625ea0d 100644 --- a/crates/binstalk-registry/src/sparse_registry.rs +++ b/crates/binstalk-registry/src/sparse_registry.rs @@ -30,7 +30,7 @@ impl SparseRegistry { } } - pub fn url(&self) -> impl Display + '_ { + pub fn url(&self) -> &Url { &self.url }