diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-08-04 00:27:41 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-08-23 19:15:13 +0200 |
commit | 75fb008711f0f80028230018ab37b988175211b4 (patch) | |
tree | b8b950cbed6152f4812f0943125ba6dd8647de93 /examples | |
parent | 4c6974c62591ef6698447712311edebca9546e5f (diff) |
openpgp: Rename SubkeyBinding to KeyBinding.
- Also rename the `subkey` method to `key`.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/guide-exploring-openpgp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guide-exploring-openpgp.rs b/examples/guide-exploring-openpgp.rs index c8e51e9b..c5aba0dc 100644 --- a/examples/guide-exploring-openpgp.rs +++ b/examples/guide-exploring-openpgp.rs @@ -62,7 +62,7 @@ fn main() { // List subkeys. for (i, s) in tpk.subkeys().enumerate() { println!("{}: Fingerprint: {}, {} self-signature(s), {} certification(s)", - i, s.subkey().fingerprint(), + i, s.key().fingerprint(), s.selfsigs().len(), s.certifications().len()); } |