mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use extend() rather than extend_from_slice() in constellation.
This commit is contained in:
parent
957893bdc2
commit
8ffa577df4
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