Skip to content

Commit

Permalink
fix a few typos in readme file (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel authored Sep 20, 2022
1 parent 00f013a commit a6eccf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This is why we publish our MD5 implementation as `md-5` and mark it with the :ex
Note that the library itself is named as `md5`, i.e. inside `use` statements you should use `md5`, not `md_5`.

The SHA-1 implementation was previously published as `sha-1`, but migrated to `sha1` since v0.10.0.
`sha-1` will continue to recieve v0.10.x patch updates, but will be deprecated after `sha1` v0.11 release.
`sha-1` will continue to receive v0.10.x patch updates, but will be deprecated after `sha1` v0.11 release.

### Minimum Supported Rust Version (MSRV) Policy

Expand Down Expand Up @@ -132,7 +132,7 @@ let hash = Sha256::digest(b"my message");

### Hashing `Read`able Objects

If you want to hash data from a type which imlements the [`Read`] trait, you can rely on implementation of the [`Write`] trait (requires enabled-by-default `std` feature):
If you want to hash data from a type which implements the [`Read`] trait, you can rely on implementation of the [`Write`] trait (requires enabled-by-default `std` feature):

```rust
use sha2::{Sha256, Digest};
Expand Down

0 comments on commit a6eccf6

Please sign in to comment.