mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-06 00:23:08 +02:00
lint: fix clippy::clone_on_copy
This commit is contained in:
@@ -773,7 +773,7 @@ impl PacketDumper {
|
||||
write!(output, "{} Signature expiration time: {} ({})",
|
||||
i, t.convert(),
|
||||
if let Some(creation) = sig.signature_creation_time() {
|
||||
(creation + std::time::Duration::from(t.clone()))
|
||||
(creation + std::time::Duration::from(*t))
|
||||
.convert().to_string()
|
||||
} else {
|
||||
" (no Signature Creation Time subpacket)".into()
|
||||
|
Reference in New Issue
Block a user