summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/builder.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-04-07 22:45:44 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-04-09 13:14:00 +0200
commit8e95666b6613a4390a38e2cf86bd9ca6289938f9 (patch)
tree29b2afbf266a6e2b99192c0ea55d363e8e90d4a5 /openpgp/src/cert/builder.rs
parent792dfa2105e0a75a27ebffdc1cf0ab8873deaac1 (diff)
Lint: Remove redundant clone().
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
Diffstat (limited to 'openpgp/src/cert/builder.rs')
-rw-r--r--openpgp/src/cert/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index d0147b99..05c3859e 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -997,7 +997,7 @@ impl CertBuilder<'_> {
}));
packets.push(sig.clone().into());
- let sig = signature::SignatureBuilder::from(sig.clone())
+ let sig = signature::SignatureBuilder::from(sig)
.set_signature_creation_time(creation_time)?;
// Remove subpackets that needn't be copied into the binding