summaryrefslogtreecommitdiffstats
path: root/openpgp/src
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src')
-rw-r--r--openpgp/src/serialize/stream.rs8
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