From 8ffa577df4cd04a6e9308584af063117b419e2bb Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 9 Sep 2016 11:43:57 +0200 Subject: [PATCH] Use extend() rather than extend_from_slice() in constellation. --- components/constellation/constellation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index 372aa526688..306a426ddbe 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -2203,7 +2203,7 @@ impl Constellation 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,