Skip to content

Commit

Permalink
Change docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <[email protected]>
  • Loading branch information
rylev committed Jan 3, 2024
1 parent af789a3 commit b0401e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ pub const fn sha1(data: &[u8]) -> Digest {
}

/// A const evaluated sha1 function. The function differs from `sha1`
/// only by usage cases due to the current limitation of constant
/// functions which should go away when const generics arrive.
/// in that it uses a `ConstSlice` which allows for resizing a slice
/// at const evaluation time which is not permitted with built-in slices.
///
/// # Use
///
Expand Down

0 comments on commit b0401e2

Please sign in to comment.