Fix mistaken doctests

This commit is contained in:
Edward Shen 2022-01-11 21:33:05 -08:00
parent 65c258bd0d
commit 112b75afae
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -89,11 +89,11 @@ impl Zeroize for Key {
/// words, the modified buffer is one of the following to possibilities, /// words, the modified buffer is one of the following to possibilities,
/// depending if there was a password provided: /// depending if there was a password provided:
/// ///
/// ``` /// ```text
/// modified = C(message, rng_key, nonce) || nonce /// modified = C(message, rng_key, nonce) || nonce
/// ``` /// ```
/// or /// or
/// ``` /// ```text
/// modified = C(C(message, rng_key, nonce), kdf(pw, salt), nonce + 1) || nonce || salt /// modified = C(C(message, rng_key, nonce), kdf(pw, salt), nonce + 1) || nonce || salt
/// ``` /// ```
/// ///