mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
internal: switch some tests to minicore
This commit is contained in:
parent
604267088c
commit
ee7b649d44
2 changed files with 8 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue