Remove uneccessary call to iter()

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-06-30 19:47:28 +02:00
parent c09c5b8bad
commit be0436064c

View file

@ -159,7 +159,6 @@ fn list(rt: &Runtime) {
} else {
return Ordering::Greater;
})
.iter()
.for_each(|note| {
let name = note.get_name().map_err_trace_exit_unwrap();
let _ = writeln!(rt.stdout(), "{}", name)