1
Fork 0

Implement BOXED_SLICE_INTO_ITER

This commit is contained in:
Michael Goulet 2024-04-17 16:32:17 -04:00
parent 1a81092531
commit a502e7ac1d
22 changed files with 446 additions and 173 deletions

View file

@ -184,7 +184,7 @@ impl<'a, T> IntoIterator for &'a P<[T]> {
type Item = &'a T;
type IntoIter = slice::Iter<'a, T>;
fn into_iter(self) -> Self::IntoIter {
self.ptr.into_iter()
self.ptr.iter()
}
}