diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-21 14:53:19 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-21 14:53:19 +0200 |
commit | 53b03641238780cbce221df11a08ca988549e305 (patch) | |
tree | 5f501cfadbc7b4592d33eee84a87d7ea22973062 /openpgp/src/serialize/stream.rs | |
parent | d342e72f994a08aca89d225ee41816d4b291b2df (diff) |
openpgp: Fix references.
Diffstat (limited to 'openpgp/src/serialize/stream.rs')
-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 b5c4cce2..927738ca 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -2023,13 +2023,13 @@ pub struct Encryptor<'a> { impl<'a> Encryptor<'a> { /// Creates a new encryptor for the given recipients. /// - /// To add more recipients, use [`Encryptor::add_recipient`]. To + /// To add more recipients, use [`Encryptor::add_recipients`]. To /// add a password, use [`Encryptor::add_password`]. To change /// the symmetric encryption algorithm, use /// [`Encryptor::sym_algo`]. To enable the experimental AEAD /// encryption, use [`Encryptor::aead_algo`]. /// - /// [`Encryptor::add_recipient`]: #method.add_recipient + /// [`Encryptor::add_recipients`]: #method.add_recipients /// [`Encryptor::add_password`]: #method.add_password /// [`Encryptor::sym_algo`]: #method.sym_algo /// [`Encryptor::aead_algo`]: #method.aead_algo @@ -2100,12 +2100,12 @@ impl<'a> Encryptor<'a> { /// 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 + /// add an recipient, use [`Encryptor::add_recipients`]. To change /// the symmetric encryption algorithm, use /// [`Encryptor::sym_algo`]. To enable the experimental AEAD /// encryption, use [`Encryptor::aead_algo`]. /// - /// [`Encryptor::add_recipient`]: #method.add_recipient + /// [`Encryptor::add_recipients`]: #method.add_recipients /// [`Encryptor::add_password`]: #method.add_password /// [`Encryptor::sym_algo`]: #method.sym_algo /// [`Encryptor::aead_algo`]: #method.aead_algo |