mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
perf: Remove unnecessary retain
The remove() at the start of the function already does this
This commit is contained in:
1 file changed
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user