Merge pull request #3 from trussed-dev/fix-fmt

Fix formatting error
This commit is contained in:
sosthene-nitrokey
2023-01-25 13:27:05 +01:00
committed by GitHub
+1 -1
View File
@@ -224,7 +224,7 @@ macro_rules! command_message {
fn try_from(packet: ExtPacket)
-> core::result::Result<Self, Self::Error>
{
if packet.len() <CCID_HEADER_LEN {
if packet.len() < CCID_HEADER_LEN {
return Err(Error::ShortPacket);
}
if packet[5] != 0 {