summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/mpis.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/parse/mpis.rs
parent89337646884b59c894329432eea960be4b3e335e (diff)
Remove redundant field names.
Diffstat (limited to 'openpgp/src/parse/mpis.rs')
-rw-r--r--openpgp/src/parse/mpis.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/parse/mpis.rs b/openpgp/src/parse/mpis.rs
index efc4c893..f95d95c2 100644
--- a/openpgp/src/parse/mpis.rs
+++ b/openpgp/src/parse/mpis.rs
@@ -124,9 +124,9 @@ impl mpis::PublicKey {
Ok(mpis::PublicKey::ECDH {
curve: Curve::from_oid(&curve),
- q: q,
- hash: hash,
- sym: sym
+ q,
+ hash,
+ sym
})
}