Inline Iterator as IntoIterator.
This commit is contained in:
@@ -238,6 +238,7 @@ impl<I: Iterator> IntoIterator for I {
|
||||
type Item = I::Item;
|
||||
type IntoIter = I;
|
||||
|
||||
#[inline]
|
||||
fn into_iter(self) -> I {
|
||||
self
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user