internal: switch some tests to minicore

This commit is contained in:
Aleksey Kladov 2021-06-16 22:54:57 +03:00
parent 604267088c
commit ee7b649d44
2 changed files with 8 additions and 15 deletions

View file

@ -227,6 +227,13 @@ pub mod iter {
#[lang = "into_iter"]
fn into_iter(self) -> Self::IntoIter;
}
impl<I: Iterator> IntoIterator for I {
type Item = I::Item;
type IntoIter = I;
fn into_iter(self) -> I {
self
}
}
}
pub use self::collect::IntoIterator;
pub use self::iterator::Iterator;