diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 12:28:02 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 12:28:02 +0100 |
commit | 8631cbea8b0cc9e4b48e3347f835cf4c8b65916f (patch) | |
tree | 107b528addac2886eb8efedf56cce2b36fe58a0b /openpgp | |
parent | 233d9ee618de5639983f05d2deeef8354fa1d4bd (diff) |
openpgp: Fix documentation.
- Fixes #222.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/tpk/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/tpk/mod.rs b/openpgp/src/tpk/mod.rs index 394f9922..20638577 100644 --- a/openpgp/src/tpk/mod.rs +++ b/openpgp/src/tpk/mod.rs @@ -861,7 +861,7 @@ pub struct UnknownBinding { /// An iterator over all `Key`s (both the primary key and any subkeys) /// in a TPK. /// -/// Returned by TPK::keys(). +/// Returned by `TPK::keys_all()` and `TPK::keys_valid()`. /// /// `KeyIter` follows the builder pattern. There is no need to /// explicitly finalize it, however: it already implements the @@ -2003,7 +2003,7 @@ impl TPK { /// /// A valid `Key` has at least one good self-signature. /// - /// To return all keys, do `keys().unfiltered()`. See the + /// To return all keys, do `keys_all().unfiltered()`. See the /// documentation of `keys` for how to control what keys are /// returned. pub fn keys_valid(&self) -> KeyIter { |