fixed botched docs

This commit is contained in:
Frederik Palmø 2022-09-20 14:08:12 +02:00
parent 40e2593a5e
commit f1958765bc

View file

@ -19,8 +19,6 @@ pub mod sha1;
/// let digest = lore::md5("example"); /// let digest = lore::md5("example");
/// println!("Digest: {}", digest); // -> Digest: 1a79a4d60de6718e8e5b326e338ae533 /// println!("Digest: {}", digest); // -> Digest: 1a79a4d60de6718e8e5b326e338ae533
/// ``` /// ```
///
/// Digest contains [`From`] implementations which convert
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Digest<const S: usize>([u8; S]); pub struct Digest<const S: usize>([u8; S]);