diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-03-25 12:19:35 +0100 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-03-26 18:33:21 +0100 |
commit | 70a96487b25557c3b1ffcba4b61cc1140e76935a (patch) | |
tree | 3846c7680a75047b81fe3b8307da47d4a4b0c080 /guide | |
parent | 89337646884b59c894329432eea960be4b3e335e (diff) |
Remove redundant field names.
Diffstat (limited to 'guide')
-rw-r--r-- | guide/src/chapter_02.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guide/src/chapter_02.md b/guide/src/chapter_02.md index 3b95e516..3553df3f 100644 --- a/guide/src/chapter_02.md +++ b/guide/src/chapter_02.md @@ -93,7 +93,7 @@ fn main() { # // Make a helper that that feeds the recipient's secret key to the # // decryptor. # let helper = Helper { -# policy: policy, +# policy, # secret: recipient, # }; # @@ -244,7 +244,7 @@ fn generate() -> openpgp::Result<openpgp::Cert> { # // Make a helper that that feeds the recipient's secret key to the # // decryptor. # let helper = Helper { -# policy: policy, +# policy, # secret: recipient, # }; # @@ -395,7 +395,7 @@ fn encrypt(policy: &dyn Policy, # // Make a helper that that feeds the recipient's secret key to the # // decryptor. # let helper = Helper { -# policy: policy, +# policy, # secret: recipient, # }; # @@ -560,7 +560,7 @@ fn decrypt(policy: &dyn Policy, // Make a helper that that feeds the recipient's secret key to the // decryptor. let helper = Helper { - policy: policy, + policy, secret: recipient, }; |