summaryrefslogtreecommitdiffstats
path: root/tool/src/commands
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-01-20 14:47:19 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-01-20 14:52:58 +0100
commit213f3204087f363c00d9ec42a48c034c6edeae1b (patch)
treed7e6e5dfe7abbd9556bd1321178f744d30c099a5 /tool/src/commands
parentf0f645c7a9b6926d0c542f4a4430d0fd47859b41 (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.rs2
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) {