From c6d8015fe9cd74dd50ecf1a99a6802afa173ba89 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Fri, 19 Jul 2024 10:41:06 +0000 Subject: [PATCH] chore: clippy needless into_iter --- pageserver/src/tenant/timeline/detach_ancestor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index 36385d1946..efc760afec 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -507,7 +507,7 @@ impl SharedStateBuilder { assert_eq!(g.latest.is_none(), g.known_ongoing.is_empty()); - g.known_ongoing.extend(self.inprogress.into_iter()); + g.known_ongoing.extend(self.inprogress); if g.latest.is_none() && !g.known_ongoing.is_empty() { g.latest = Some((ExistingAttempt::ReadFromIndexPart, false)); }