Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 8, 2024
1 parent b666e05 commit 25b772f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mock_flash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ impl<const PAGES: usize, const BYTES_PER_WORD: usize, const PAGE_WORDS: usize>
.unwrap();

match maybe_item {
crate::item::MaybeItem::Corrupted(_, _) | crate::item::MaybeItem::Erased(_) => {
crate::item::MaybeItem::Corrupted(_, _)
| crate::item::MaybeItem::Erased(_, _) => {
found_item.replace(false);
break;
}
Expand Down

0 comments on commit 25b772f

Please sign in to comment.