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:
bors-servo 2016-09-09 22:25:59 -05:00 committed by GitHub
commit 10777a8a8e

View file

@ -2203,7 +2203,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
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)) {
let pipeline = match self.pipelines.get(&entry.pipeline_id) {
Some(pipeline) => pipeline,