diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-05-13 16:49:52 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-05-13 16:49:52 +0200 |
commit | 2c4989b1020051d1a1cc049be0d056e13217c7b4 (patch) | |
tree | 0041e85f018e0c8e41791a10bf1698b3504e1469 /openpgp/src | |
parent | fb8c180a057a5c912a88a8d44f53cd53efb1d2d8 (diff) |
openpgp: Fix documentation.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/serialize/stream.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs index 9d95610d..4b315648 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -2045,7 +2045,7 @@ pub struct Encryptor<'a> { } impl<'a> Encryptor<'a> { - /// Creates a new encryptor for the given recipient. + /// Creates a new encryptor for the given recipients. /// /// To add more recipients, use [`Encryptor::add_recipient`]. To /// add a password, use [`Encryptor::add_password`]. To change @@ -2139,7 +2139,7 @@ impl<'a> Encryptor<'a> { } } - /// Creates a new encryptor for the given password. + /// Creates a new encryptor for the given passwords. /// /// To add more passwords, use [`Encryptor::add_password`]. To /// add an recipient, use [`Encryptor::add_recipient`]. To change @@ -2186,7 +2186,7 @@ impl<'a> Encryptor<'a> { } } - /// Adds a recipient. + /// Adds recipients. /// /// The resulting message can be encrypted by any recipient and /// with any password. @@ -2270,7 +2270,7 @@ impl<'a> Encryptor<'a> { self } - /// Adds a password to encrypt with. + /// Adds passwords to encrypt with. /// /// The resulting message can be encrypted with any password and /// by any recipient. |