Skip to content

Commit dff9996

Browse files
authored
digest: fix types in README (RustCrypto#1649)
1 parent 3ebd677 commit dff9996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

digest/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ let hash = hasher.finalize();
5656
println!("Result: {:x}", hash);
5757
```
5858

59-
In this example `hash` has type [`Array<u8, U64>`][2], which is a generic
60-
alternative to `[u8; 64]`.
59+
In this example `hash` has type [`Array<u8, U32>`][2], which is a generic
60+
alternative to `[u8; 32]`.
6161

6262
Alternatively you can use chained approach, which is equivalent to the previous
6363
example:

0 commit comments

Comments
 (0)