Skip to content

Commit

Permalink
digest: fix types in README (#1649)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Aug 16, 2024
1 parent 3ebd677 commit dff9996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ let hash = hasher.finalize();
println!("Result: {:x}", hash);
```

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

Alternatively you can use chained approach, which is equivalent to the previous
example:
Expand Down

0 comments on commit dff9996

Please sign in to comment.