From a5c2067273c19c986c515b2465b038a963396d97 Mon Sep 17 00:00:00 2001 From: steviez Date: Tue, 25 May 2021 12:24:34 -0500 Subject: [PATCH] fixup! Ancestors to HashSet: From(Vec) (#17447) (#17481) --- runtime/src/ancestors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/ancestors.rs b/runtime/src/ancestors.rs index 8428baa98b..22aae9eb4d 100644 --- a/runtime/src/ancestors.rs +++ b/runtime/src/ancestors.rs @@ -28,7 +28,7 @@ impl From> for Ancestors { }); let range = result.range(); if range > ANCESTORS_HASH_MAP_SIZE { - result.large_range_slots = source.into_iter().map(|(slot, _)| slot).collect(); + result.large_range_slots = source.into_iter().collect(); result.min = 0; result.max = 0; } else {