mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-23 23:40:13 +00:00
pmg-rs: tfa: clippy: useless conversion to the same type
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
1c3af08a37
commit
b9e227eedb
@ -178,7 +178,7 @@ mod export {
|
||||
#[try_from_ref] this: &Tfa,
|
||||
) -> Result<(Option<String>, Option<super::WebauthnConfig>), Error> {
|
||||
Ok(match this.inner.lock().unwrap().webauthn.clone() {
|
||||
Some(config) => (Some(hex::encode(config.digest())), Some(config.into())),
|
||||
Some(config) => (Some(hex::encode(config.digest())), Some(config)),
|
||||
None => (None, None),
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user