Skip to content

Commit

Permalink
Make NFC error type non-exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
zargony committed Aug 26, 2024
1 parent c5eb201 commit 040c195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/src/nfc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const PN532_TO_HOST: u8 = 0xD5;

/// NFC reader error
#[derive(Debug)]
#[non_exhaustive]
pub enum Error {
/// PN532 error (with static interface error type)
#[allow(dead_code)]
Expand Down

0 comments on commit 040c195

Please sign in to comment.