Skip to content

Commit 4e5ca4c

Browse files
authored
Add required 'static lifetime bound (#347)
1 parent 4c1d9da commit 4e5ca4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blake2/src/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,15 @@ macro_rules! blake2_mac_impl {
358358

359359
impl<OutSize> OutputSizeUser for $name<OutSize>
360360
where
361-
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size>,
361+
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size> + 'static,
362362
LeEq<OutSize, $max_size>: NonZero,
363363
{
364364
type OutputSize = OutSize;
365365
}
366366

367367
impl<OutSize> FixedOutput for $name<OutSize>
368368
where
369-
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size>,
369+
OutSize: ArrayLength<u8> + IsLessOrEqual<$max_size> + 'static,
370370
LeEq<OutSize, $max_size>: NonZero,
371371
{
372372
#[inline]

0 commit comments

Comments
 (0)