Skip to content

Commit

Permalink
Fix doctest 2
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Oct 14, 2024
1 parent 9add687 commit 08f6974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi-x963-kdf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ where
/// use hex_literal::hex;
/// use sha2::Sha256;
///
/// let key = ansi_x963_kdf::derive_key::<Sha256>(b"secret", b"shared-info", 42).unwrap();
/// let key = ansi_x963_kdf::derive_key::<Sha256>(b"secret", b"shared-info", 16).unwrap();
/// assert_eq!(key[..], hex!("8dbb1d50bcc7fc782abc9db5c64a2826")[..]);
/// ```
#[cfg(feature = "alloc")]
Expand Down

0 comments on commit 08f6974

Please sign in to comment.