From dff9996dc0526e1aeff81f2b3a46d77e70ca7449 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Fri, 16 Aug 2024 08:43:59 +0300 Subject: [PATCH] digest: fix types in README (#1649) --- digest/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/digest/README.md b/digest/README.md index 479d5c7ed..da44f69e4 100644 --- a/digest/README.md +++ b/digest/README.md @@ -56,8 +56,8 @@ let hash = hasher.finalize(); println!("Result: {:x}", hash); ``` -In this example `hash` has type [`Array`][2], which is a generic -alternative to `[u8; 64]`. +In this example `hash` has type [`Array`][2], which is a generic +alternative to `[u8; 32]`. Alternatively you can use chained approach, which is equivalent to the previous example: