clippy lint fix

This commit is contained in:
Heiko Schaefer 2023-08-04 14:39:55 +02:00
parent 6e20b9bde4
commit 822b7f3b55
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -203,7 +203,7 @@ impl ScdBackend {
return Err(Error::Smartcard(SmartcardError::Error(format!("{e:?}"))));
}
if let Ok(..) = response {
if response.is_ok() {
// drop remaining lines
while let Some(_drop) = rt.block_on(self.agent.next()) {
log::trace!(" drop: {:x?}", _drop);