diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-01-20 14:47:19 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-01-20 14:52:58 +0100 |
commit | 213f3204087f363c00d9ec42a48c034c6edeae1b (patch) | |
tree | d7e6e5dfe7abbd9556bd1321178f744d30c099a5 /openpgp/examples | |
parent | f0f645c7a9b6926d0c542f4a4430d0fd47859b41 (diff) |
openpgp: Rename ComponentIter::components to bindings.
- `ComponentIter::components` returns `ComponentBindings`. It is
more accurate to call it `ComponentIter::component_bindings`.
But, since it is called on a component, just use the shorter name,
`ComponentIter::bindings`.
Diffstat (limited to 'openpgp/examples')
-rw-r--r-- | openpgp/examples/web-of-trust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/web-of-trust.rs b/openpgp/examples/web-of-trust.rs index 7ef155b1..71ddbc4f 100644 --- a/openpgp/examples/web-of-trust.rs +++ b/openpgp/examples/web-of-trust.rs @@ -38,7 +38,7 @@ fn main() { match cert { Ok(cert) => { let keyid = cert.keyid(); - for uidb in cert.userids().components() { + for uidb in cert.userids().bindings() { for tps in uidb.certifications() { for issuer in tps.get_issuers() { println!("{}, {:?}, {}", |