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 {