From 73c79c7821515b9e75868b64c107a4e83d7888dd Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 22 Sep 2022 15:04:00 +0100 Subject: [PATCH] minor: remove unused mut --- src/cargo/core/resolver/dep_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/core/resolver/dep_cache.rs b/src/cargo/core/resolver/dep_cache.rs index 79e44f6eba2..dd86170035e 100644 --- a/src/cargo/core/resolver/dep_cache.rs +++ b/src/cargo/core/resolver/dep_cache.rs @@ -109,7 +109,7 @@ impl<'a> RegistryQueryer<'a> { self.registry_cache.insert(dep.clone(), Poll::Pending); return Poll::Pending; } - for summary in ret.iter_mut() { + for summary in ret.iter() { let mut potential_matches = self .replacements .iter()