Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required 'static lifetime bound #347

Merged
merged 1 commit into from Jan 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions blake2/src/macros.rs
Expand Up @@ -358,15 +358,15 @@ macro_rules! blake2_mac_impl {

impl<OutSize> OutputSizeUser for $name<OutSize>
where
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size>,
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size> + 'static,
LeEq<OutSize, $max_size>: NonZero,
{
type OutputSize = OutSize;
}

impl<OutSize> FixedOutput for $name<OutSize>
where
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size>,
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size> + 'static,
LeEq<OutSize, $max_size>: NonZero,
{
#[inline]
Expand Down