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 /tool/src/commands | |
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 'tool/src/commands')
-rw-r--r-- | tool/src/commands/inspect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index c20b1bfa..d56f4503 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -147,7 +147,7 @@ fn inspect_cert(output: &mut dyn io::Write, cert: &openpgp::Cert, writeln!(output)?; } - for uidb in cert.userids().components() { + for uidb in cert.userids().bindings() { writeln!(output, " UserID: {}", uidb.userid())?; inspect_revocation(output, "", uidb.revoked(None))?; if let Some(sig) = uidb.binding_signature(None) { |