Fix match same arms bug found by clippy

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
flip1995 2019-07-26 22:52:04 +02:00 committed by Matthias Beyer
parent 8469fd5596
commit aa23fb485c

View file

@ -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
};