From 608861985fea09933c2741a6a5537a4e80cc9057 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" <193874+carols10cents@users.noreply.github.com> Date: Mon, 17 Apr 2023 13:32:58 -0400 Subject: [PATCH] Fix an off-by-one error in the docs for sha2 (#467) There are six total, and the docs mentioned "first two" and "last three" = 5. This appears to have been introduced in 75298d3, and based on the text in this spot that was removed in that commit, this should read "last four" instead. --- sha2/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sha2/src/lib.rs b/sha2/src/lib.rs index 9082fc5b..a3482e84 100644 --- a/sha2/src/lib.rs +++ b/sha2/src/lib.rs @@ -6,7 +6,8 @@ //! Algorithmically, there are only 2 core algorithms: SHA-256 and SHA-512. //! All other algorithms are just applications of these with different initial //! hash values, and truncated to different digest bit lengths. The first two -//! algorithms in the list are based on SHA-256, while the last three on SHA-512. +//! algorithms in the list are based on SHA-256, while the last four are based +//! on SHA-512. //! //! # Usage //!