diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-09-18 15:26:16 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-18 15:26:16 +0200 |
commit | 7597e26a646ea1e91896e9cb4466f4fbc1f2b2a4 (patch) | |
tree | 67a65b34332548048e23fd23f68ce199a140d1a9 /openpgp | |
parent | 747aab2a0f7e85d4aa806f9db7d27c70312570a8 (diff) |
openpgp: Correct documentation for TPK::userids.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/tpk/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/openpgp/src/tpk/mod.rs b/openpgp/src/tpk/mod.rs index 8a279753..7fa91956 100644 --- a/openpgp/src/tpk/mod.rs +++ b/openpgp/src/tpk/mod.rs @@ -1361,10 +1361,7 @@ impl TPK { self.set_expiry_as_of(primary_signer, expiration, time::now()) } - /// Returns an iterator over the TPK's valid `UserIDBinding`s. - /// - /// The primary user id is returned first. A valid - /// `UserIDBinding` has at least one good self-signature. + /// Returns an iterator over the TPK's `UserIDBinding`s. pub fn userids(&self) -> UserIDBindingIter { UserIDBindingIter { iter: Some(self.userids.iter()) } } |