diff --git a/src/ctap/apdu.rs b/src/ctap/apdu.rs index db4653f..0afe6b7 100644 --- a/src/ctap/apdu.rs +++ b/src/ctap/apdu.rs @@ -90,18 +90,11 @@ pub enum ApduType { Instruction, Short(Case), Extended(Case), - Unknown, -} - -impl Default for ApduType { - fn default() -> ApduType { - ApduType::Unknown - } } #[cfg_attr(test, derive(Clone, Debug))] #[allow(dead_code)] -#[derive(Default, PartialEq)] +#[derive(PartialEq)] pub struct APDU { header: ApduHeader, lc: u16,