expiring_ref 0.5.6

A crate designed to implement a mechanism for owning values, via a destructively-moved equivalent to C++'s xvalues/`T&&`
Documentation
use crate::OwnRef;
use core::slice::{Iter, IterMut};

const impl<'a, 'b: 'a, T> IntoIterator for &'a OwnRef<'b, [T]> {
    type Item = &'a T;
    type IntoIter = Iter<'a, T>;

    fn into_iter(self) -> Self::IntoIter {
		self.iter()
	}
}
const impl<'a, 'b: 'a, T> IntoIterator for &'a mut OwnRef<'b, [T]> {
	type Item = &'a mut T;
	type IntoIter = IterMut<'a, T>;

	fn into_iter(self) -> Self::IntoIter {
		self.iter_mut()
	}
}