diff --git a/Cargo.toml b/Cargo.toml index 8466e56..7f43a93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "boxcar" -version = "0.2.5" +version = "0.2.6" authors = ["Ibraheem Ahmed "] edition = "2021" license = "MIT" diff --git a/src/raw.rs b/src/raw.rs index eecaaca..ffd1b1a 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -433,7 +433,7 @@ pub struct Iter { impl Iter { /// Returns a pointer to the next entry in the iterator. - fn next<'v, T>(&mut self, vec: &'v Vec) -> Option<(usize, *mut Entry)> { + fn next(&mut self, vec: &Vec) -> Option<(usize, *mut Entry)> { // We returned every entry in the vector, we're done. if self.yielded == vec.count() { return None;