From aa23fb485c1b824209768fb98b4847eca9569103 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Fri, 26 Jul 2019 22:52:04 +0200 Subject: [PATCH] Fix match same arms bug found by clippy Signed-off-by: Matthias Beyer --- bin/domain/imag-contact/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs index bf472bb6..5188f829 100644 --- a/bin/domain/imag-contact/src/main.rs +++ b/bin/domain/imag-contact/src/main.rs @@ -316,8 +316,6 @@ fn find(rt: &Runtime) { .for_each(|(i, (_, card))| { let fmt = if scmd.is_present("find-show") { &show_format - } else if scmd.is_present("find-list") { - &list_format } else { // default: find-list &list_format };