summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/asymmetric.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/crypto/asymmetric.rs
parent89337646884b59c894329432eea960be4b3e335e (diff)
Remove redundant field names.
Diffstat (limited to 'openpgp/src/crypto/asymmetric.rs')
-rw-r--r--openpgp/src/crypto/asymmetric.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/crypto/asymmetric.rs b/openpgp/src/crypto/asymmetric.rs
index b39100e2..46e77f8d 100644
--- a/openpgp/src/crypto/asymmetric.rs
+++ b/openpgp/src/crypto/asymmetric.rs
@@ -73,8 +73,8 @@ impl KeyPair {
-> Result<Self>
{
Ok(Self {
- public: public,
- secret: secret,
+ public,
+ secret,
})
}