summaryrefslogtreecommitdiffstats
path: root/sq
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-22 20:09:13 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:55 +0100
commit307a6d739df7728b9676b51743edc42ef45f7379 (patch)
treee6bf6e8fe5f7b400d7dbea312fe9be5d0ae908b7 /sq
parentde63b2d073e92d0618ea7af3ecf2881252a31aed (diff)
openpgp, sq: Drop unneeded clone on a Copy value.
- Found by clippy::clone_on_copy lint.
Diffstat (limited to 'sq')
-rw-r--r--sq/src/commands/dump.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sq/src/commands/dump.rs b/sq/src/commands/dump.rs
index 003657ba..a9aae2cc 100644
--- a/sq/src/commands/dump.rs
+++ b/sq/src/commands/dump.rs
@@ -772,7 +772,7 @@ impl PacketDumper {
write!(output, "{} Signature expiration time: {} ({})",
i, t.convert(),
if let Some(creation) = sig.signature_creation_time() {
- (creation + t.clone().into()).convert().to_string()
+ (creation + (*t).into()).convert().to_string()
} else {
" (no Signature Creation Time subpacket)".into()
})?,