Skip to content

Commit e1dd03e

Browse files
committed
Clippy fixes.
1 parent 95401ea commit e1dd03e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub struct PackedVec<T, StorageT = usize> {
6363
min: T,
6464
}
6565

66-
impl<'a, T> PackedVec<T, usize>
66+
impl<T> PackedVec<T, usize>
6767
where
6868
T: 'static + AsPrimitive<usize> + FromPrimitive + Ord + PrimInt + ToPrimitive,
6969
usize: AsPrimitive<T>,
@@ -313,7 +313,7 @@ pub struct PackedVecIter<'a, T: 'a, StorageT: 'a> {
313313
idx: usize,
314314
}
315315

316-
impl<'a, T, StorageT> Iterator for PackedVecIter<'a, T, StorageT>
316+
impl<T, StorageT> Iterator for PackedVecIter<'_, T, StorageT>
317317
where
318318
T: 'static + AsPrimitive<StorageT> + FromPrimitive + Ord + PrimInt + ToPrimitive,
319319
StorageT: AsPrimitive<T> + PrimInt + Unsigned,

0 commit comments

Comments
 (0)