diff --git a/src/data/deckcode/deck.rs b/src/data/deckcode/deck.rs index 7139643..914e587 100644 --- a/src/data/deckcode/deck.rs +++ b/src/data/deckcode/deck.rs @@ -227,7 +227,7 @@ impl Deck { fn read_f1_extra(reader: &mut R, contents: &mut HashMap) -> DeckDecodingResult<()> { // While the cursor has still some bytes left... - while let Ok(_) = Self::read_f1_extra_card(reader, contents) {} + while Self::read_f1_extra_card(reader, contents).is_ok() {} Ok(()) }