From ff71d83893d5cd222027ad81819423bb03f17c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Mon, 19 Mar 2018 00:13:36 +0100 Subject: [PATCH] Simplify log_snippet --- ofborg/src/tasks/build.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ofborg/src/tasks/build.rs b/ofborg/src/tasks/build.rs index b8f2c38..62eeaea 100644 --- a/ofborg/src/tasks/build.rs +++ b/ofborg/src/tasks/build.rs @@ -97,10 +97,7 @@ impl<'a, 'b> JobActions<'a, 'b> { } pub fn log_snippet(&self) -> Vec { - self.snippet_log - .clone() - .into_iter() - .collect::>() + self.snippet_log.clone().into() } pub fn commit_missing(&mut self) {