diff options
Diffstat (limited to 'guide')
-rw-r--r-- | guide/src/chapter_01.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guide/src/chapter_01.md b/guide/src/chapter_01.md index 8e48a791..580a27d6 100644 --- a/guide/src/chapter_01.md +++ b/guide/src/chapter_01.md @@ -119,7 +119,7 @@ fn main() { # // whether the signature checks out mathematically, we apply # // our policy. # match sig_result { -# VerificationResult::GoodChecksum(_) => +# VerificationResult::GoodChecksum(..) => # Ok(()), // Good signature # VerificationResult::MissingKey(_) => # Err(failure::err_msg("Missing key to verify signature")), @@ -249,7 +249,7 @@ fn generate() -> openpgp::Result<openpgp::TPK> { # // whether the signature checks out mathematically, we apply # // our policy. # match sig_result { -# VerificationResult::GoodChecksum(_) => +# VerificationResult::GoodChecksum(..) => # Ok(()), // Good signature # VerificationResult::MissingKey(_) => # Err(failure::err_msg("Missing key to verify signature")), @@ -379,7 +379,7 @@ fn sign(sink: &mut Write, plaintext: &str, tsk: &openpgp::TPK) # // whether the signature checks out mathematically, we apply # // our policy. # match sig_result { -# VerificationResult::GoodChecksum(_) => +# VerificationResult::GoodChecksum(..) => # Ok(()), // Good signature # VerificationResult::MissingKey(_) => # Err(failure::err_msg("Missing key to verify signature")), @@ -520,7 +520,7 @@ impl<'a> VerificationHelper for Helper<'a> { // whether the signature checks out mathematically, we apply // our policy. match sig_result { - VerificationResult::GoodChecksum(_) => + VerificationResult::GoodChecksum(..) => Ok(()), // Good signature VerificationResult::MissingKey(_) => Err(failure::err_msg("Missing key to verify signature")), |