Skip to content

Commit

Permalink
Add default type for VarZeroSliceIter
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Dec 19, 2024
1 parent 9404c20 commit 616965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/zerovec/src/varzerovec/components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ impl<'a, T: VarULE + ?Sized, F: VarZeroVecFormat> VarZeroVecComponents<'a, T, F>

/// An iterator over VarZeroSlice
#[derive(Debug)]
pub struct VarZeroSliceIter<'a, T: ?Sized, F> {
pub struct VarZeroSliceIter<'a, T: ?Sized, F = Index16> {
components: VarZeroVecComponents<'a, T, F>,
index: usize,
// Safety invariant: must be a valid index into the data segment of `components`, or an index at the end
Expand Down

0 comments on commit 616965c

Please sign in to comment.