mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Fix clippy warnings
This commit is contained in:
committed by
sosthene-nitrokey
parent
ca9b10f9c9
commit
b8a496f67c
+1
-1
@@ -255,7 +255,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, T: Client> LoadedAuthenticator<'a, T> {
|
||||
impl<T: Client> LoadedAuthenticator<'_, T> {
|
||||
pub fn yubico_set_administration_key<const R: usize>(
|
||||
&mut self,
|
||||
data: &[u8],
|
||||
|
||||
+2
-2
@@ -12,13 +12,13 @@ impl<'v, const R: usize> Deref for Reply<'v, R> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'v, const R: usize> DerefMut for Reply<'v, R> {
|
||||
impl<const R: usize> DerefMut for Reply<'_, R> {
|
||||
fn deref_mut(&mut self) -> &mut Self::Target {
|
||||
&mut self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl<'v, const R: usize> Reply<'v, R> {
|
||||
impl<const R: usize> Reply<'_, R> {
|
||||
/// Extend the reply and return an error otherwise
|
||||
/// The MoreAvailable and GET RESPONSE mechanisms are handled by adpu_dispatch
|
||||
///
|
||||
|
||||
+1
-1
@@ -305,7 +305,7 @@ impl Drop for UseValidKey {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'t> LoadedState<'t> {
|
||||
impl LoadedState<'_> {
|
||||
pub fn key_exists(
|
||||
&self,
|
||||
client: &mut impl crate::Client,
|
||||
|
||||
Reference in New Issue
Block a user