diff options
Diffstat (limited to 'guide/src/chapter_03.md')
-rw-r--r-- | guide/src/chapter_03.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guide/src/chapter_03.md b/guide/src/chapter_03.md index 80d5cc1c..0d8e9996 100644 --- a/guide/src/chapter_03.md +++ b/guide/src/chapter_03.md @@ -53,9 +53,9 @@ fn main() { // Iterate over subkeys. assert_eq!(tpk.subkeys().count(), 2); - assert_eq!(tpk.subkeys().nth(0).unwrap().subkey().fingerprint().to_string(), + assert_eq!(tpk.subkeys().nth(0).unwrap().key().fingerprint().to_string(), "67A4 8753 A380 A6B3 B7DF 7DC5 E6C6 897A 4CEF 8924"); - assert_eq!(tpk.subkeys().nth(1).unwrap().subkey().fingerprint().to_string(), + assert_eq!(tpk.subkeys().nth(1).unwrap().key().fingerprint().to_string(), "185C DAA1 2723 0423 19E4 7F67 108F 2CAF 9034 356D"); } ``` |