Merge pull request #135 from Ekleog/next

Simplify log_snippet
This commit is contained in:
Graham Christensen 2018-03-18 19:15:31 -04:00 committed by GitHub
commit dc06ba12e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,10 +97,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
} }
pub fn log_snippet(&self) -> Vec<String> { pub fn log_snippet(&self) -> Vec<String> {
self.snippet_log self.snippet_log.clone().into()
.clone()
.into_iter()
.collect::<Vec<String>>()
} }
pub fn commit_missing(&mut self) { pub fn commit_missing(&mut self) {