diff --git a/crates/binstalk-registry/src/lib.rs b/crates/binstalk-registry/src/lib.rs index 8e98692b..fe40bd76 100644 --- a/crates/binstalk-registry/src/lib.rs +++ b/crates/binstalk-registry/src/lib.rs @@ -223,8 +223,8 @@ impl Registry { CrateSource { source_type: match self { #[cfg(feature = "git")] - Registry::Git(registry) => SourceType::Git, - Registry::Sparse(registry) => SourceType::Sparse, + Registry::Git(_) => SourceType::Git, + Registry::Sparse(_) => SourceType::Sparse, }, url: MaybeOwned::Owned(Url::parse(®istry)?), }