mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #13215 - servo:pointless-clones, r=Manishearth
Use extend() rather than extend_from_slice() in constellation. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13215) <!-- Reviewable:end -->
This commit is contained in:
commit
10777a8a8e
1 changed files with 1 additions and 1 deletions
|
@ -2203,7 +2203,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
evicted_pipelines.extend_from_slice(&frame.remove_forward_entries());
|
evicted_pipelines.extend(frame.remove_forward_entries());
|
||||||
for entry in frame.next.iter().chain(frame.prev.iter()).chain(once(&frame.current)) {
|
for entry in frame.next.iter().chain(frame.prev.iter()).chain(once(&frame.current)) {
|
||||||
let pipeline = match self.pipelines.get(&entry.pipeline_id) {
|
let pipeline = match self.pipelines.get(&entry.pipeline_id) {
|
||||||
Some(pipeline) => pipeline,
|
Some(pipeline) => pipeline,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue