Skip to content

Commit 7b360e5

Browse files
committed
Remove unused lifetimes
1 parent 5b02061 commit 7b360e5

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
@@ -58,7 +58,7 @@ pub struct PackedVec<T, StorageT = usize> {
5858
min: T,
5959
}
6060

61-
impl<'a, T> PackedVec<T, usize>
61+
impl<T> PackedVec<T, usize>
6262
where
6363
T: 'static + AsPrimitive<usize> + FromPrimitive + Ord + PrimInt + ToPrimitive,
6464
usize: AsPrimitive<T>,
@@ -308,7 +308,7 @@ pub struct PackedVecIter<'a, T: 'a, StorageT: 'a> {
308308
idx: usize,
309309
}
310310

311-
impl<'a, T, StorageT> Iterator for PackedVecIter<'a, T, StorageT>
311+
impl<T, StorageT> Iterator for PackedVecIter<'_, T, StorageT>
312312
where
313313
T: 'static + AsPrimitive<StorageT> + FromPrimitive + Ord + PrimInt + ToPrimitive,
314314
StorageT: AsPrimitive<T> + PrimInt + Unsigned,

0 commit comments

Comments
 (0)