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 115d95f commit cdc3120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concat-kdf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ where
/// use hex_literal::hex;
/// use sha2::Sha256;
///
/// let key = concat_kdf::derive_key_into::<Sha256>(b"secret", b"shared-info", 32).unwrap();
/// let key = concat_kdf::derive_key::<Sha256>(b"secret", b"shared-info", 16).unwrap();
/// assert_eq!(key[..], hex!("960db2c549ab16d71a7b008e005c2bdc")[..]);
/// ```
#[cfg(feature = "alloc")]
Expand Down

0 comments on commit cdc3120

Please sign in to comment.