lint: fix clippy::clone_on_copy

This commit is contained in:
Nora Widdecke 2022-02-18 14:29:52 +01:00
parent 5a6d1a97fd
commit b2a7ca29b7
1 changed files with 1 additions and 1 deletions

View File

@ -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()