Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Oct 14, 2024
1 parent 644772d commit 9add687
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 @@ -98,7 +98,7 @@ where
/// use sha2::Sha256;
///
/// let key = ansi_x963_kdf::derive_key::<Sha256>(b"secret", b"shared-info", 42).unwrap();
/// assert_eq!(key, hex!("8dbb1d50bcc7fc782abc9db5c64a2826"));
/// assert_eq!(key[..], hex!("8dbb1d50bcc7fc782abc9db5c64a2826")[..]);
/// ```
#[cfg(feature = "alloc")]
#[inline]
Expand Down

0 comments on commit 9add687

Please sign in to comment.