summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert.rs
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-03-25 12:19:35 +0100
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-03-26 18:33:21 +0100
commit70a96487b25557c3b1ffcba4b61cc1140e76935a (patch)
tree3846c7680a75047b81fe3b8307da47d4a4b0c080 /openpgp/src/serialize/cert.rs
parent89337646884b59c894329432eea960be4b3e335e (diff)
Remove redundant field names.
Diffstat (limited to 'openpgp/src/serialize/cert.rs')
-rw-r--r--openpgp/src/serialize/cert.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/cert.rs b/openpgp/src/serialize/cert.rs
index 1c47da44..e4b86ce5 100644
--- a/openpgp/src/serialize/cert.rs
+++ b/openpgp/src/serialize/cert.rs
@@ -323,7 +323,7 @@ impl<'a> TSK<'a> {
/// Creates a new view for the given `Cert`.
fn new(cert: &'a Cert) -> Self {
Self {
- cert: cert,
+ cert,
filter: None,
}
}