Simplify log_snippet

This commit is contained in:
Léo Gaspard 2018-03-19 00:13:36 +01:00
parent 41da488b9b
commit ff71d83893
No known key found for this signature in database
GPG key ID: 8A55848B6090F9CF

View file

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