From be0436064cb7b997efc5e2f7a0888ee5f0ad7dda Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 30 Jun 2019 19:47:28 +0200 Subject: [PATCH] Remove uneccessary call to iter() Signed-off-by: Matthias Beyer --- bin/domain/imag-notes/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/domain/imag-notes/src/main.rs b/bin/domain/imag-notes/src/main.rs index 5c06a4b5..01901fca 100644 --- a/bin/domain/imag-notes/src/main.rs +++ b/bin/domain/imag-notes/src/main.rs @@ -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)