From d8420dd0899b9904e5075d515e6ac49cb0315a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 6 Oct 2023 09:36:13 +0200 Subject: [PATCH] Fix clippy warning --- src/lib/ctap_app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ctap_app.rs b/src/lib/ctap_app.rs index d725689..66ef9bb 100644 --- a/src/lib/ctap_app.rs +++ b/src/lib/ctap_app.rs @@ -320,7 +320,7 @@ where let instruction: u8 = apdu.instruction().into(); match instruction { - 0x00 | 0x01 | 0x02 => handle_ctap1(self, apdu.data(), response), //self.call_authenticator_u2f(apdu, response), + 0..=2 => handle_ctap1(self, apdu.data(), response), //self.call_authenticator_u2f(apdu, response), _ => { match ctaphid::Command::try_from(instruction) {