From 112b75afae7fa4f0af9aacfd3d43f6b28e85fbac Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Tue, 11 Jan 2022 21:33:05 -0800 Subject: [PATCH] Fix mistaken doctests --- common/src/crypto.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/crypto.rs b/common/src/crypto.rs index ba82812..3670ca4 100644 --- a/common/src/crypto.rs +++ b/common/src/crypto.rs @@ -89,11 +89,11 @@ impl Zeroize for Key { /// words, the modified buffer is one of the following to possibilities, /// depending if there was a password provided: /// -/// ``` +/// ```text /// modified = C(message, rng_key, nonce) || nonce /// ``` /// or -/// ``` +/// ```text /// modified = C(C(message, rng_key, nonce), kdf(pw, salt), nonce + 1) || nonce || salt /// ``` ///