From 53b3c02b3b0ad79e914e04cd9a3d420627fa47c3 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 5 Jun 2024 23:51:06 +1000 Subject: [PATCH] Fix clippy lints Signed-off-by: Jiahao XU --- crates/binstalk-fetchers/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/binstalk-fetchers/src/lib.rs b/crates/binstalk-fetchers/src/lib.rs index f40e1b4a..4c1de54a 100644 --- a/crates/binstalk-fetchers/src/lib.rs +++ b/crates/binstalk-fetchers/src/lib.rs @@ -188,7 +188,7 @@ impl Data { return Ok(None); }; - let mut repo = Url::parse(&repo)?; + let mut repo = Url::parse(repo)?; let mut repository_host = RepositoryHost::guess_git_hosting_services(&repo); if repository_host == RepositoryHost::Unknown {