diff --git a/library/core/src/iter/adapters/mod.rs b/library/core/src/iter/adapters/mod.rs index ca950a138f31c..3c421f25b9418 100644 --- a/library/core/src/iter/adapters/mod.rs +++ b/library/core/src/iter/adapters/mod.rs @@ -173,6 +173,7 @@ where { type Item = ::Output; + #[inline] fn next(&mut self) -> Option { self.try_for_each(ControlFlow::Break).break_value() }