Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hmac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ To get authentication code:

```rust
use sha2::Sha256;
use hmac::{Hmac, KeyInit, Mac};
use hmac::{Hmac, Mac};
use hex_literal::hex;

// Create alias for HMAC-SHA256
Expand Down Expand Up @@ -69,7 +69,7 @@ To verify the message:

```rust
use sha2::Sha256;
use hmac::{Hmac, KeyInit, Mac};
use hmac::{Hmac, Mac};
use hex_literal::hex;

type HmacSha256 = Hmac<Sha256>;
Expand Down
Loading