perf: Remove unnecessary retain

The remove() at the start of the function already does this
This commit is contained in:
timedout committed 2026-08-22 20:14:42 +01:00
1 parent 0608f674a3
commit 8d95163da4
1 file changed
-1
-1
View File
@@ -239,7 +239,6 @@ impl super::Service {
once(ancestor_id.as_ref()),
);
}
new_extremities.retain(|extremity| !outlier_prevs.contains(extremity));
ancestors_todo.extend(outlier_prevs);
}