Auto merge of #84560 - cjgillot:inline-iter, r=m-ou-se
Inline Iterator as IntoIterator. For some reason, it appears on rustc's own perf stats.
This commit is contained in:
commit
6e9b3696d4
@ -238,6 +238,7 @@ impl<I: Iterator> IntoIterator for I {
|
||||
type Item = I::Item;
|
||||
type IntoIter = I;
|
||||
|
||||
#[inline]
|
||||
fn into_iter(self) -> I {
|
||||
self
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user