aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-16 20:54:57 +0100
committerAleksey Kladov <[email protected]>2021-06-16 20:54:57 +0100
commitee7b649d445b9c33486f3b5c3bef29bdb28124bc (patch)
treeb16bda6464bfac9aefcfb74cd94c00e7c20490e0 /crates/test_utils/src
parent604267088c9ef6afa021807b437dab22d72dfc99 (diff)
internal: switch some tests to minicore
Diffstat (limited to 'crates/test_utils/src')
-rw-r--r--crates/test_utils/src/minicore.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/test_utils/src/minicore.rs b/crates/test_utils/src/minicore.rs
index 011d460be..a861ff09c 100644
--- a/crates/test_utils/src/minicore.rs
+++ b/crates/test_utils/src/minicore.rs
@@ -227,6 +227,13 @@ pub mod iter {
227 #[lang = "into_iter"] 227 #[lang = "into_iter"]
228 fn into_iter(self) -> Self::IntoIter; 228 fn into_iter(self) -> Self::IntoIter;
229 } 229 }
230 impl<I: Iterator> IntoIterator for I {
231 type Item = I::Item;
232 type IntoIter = I;
233 fn into_iter(self) -> I {
234 self
235 }
236 }
230 } 237 }
231 pub use self::collect::IntoIterator; 238 pub use self::collect::IntoIterator;
232 pub use self::iterator::Iterator; 239 pub use self::iterator::Iterator;