diff options
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index ec257a11465..a0f7f294e6f 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -1976,9 +1976,9 @@ pub trait Iterator { /// // they're the same /// assert_eq!(result, result2); /// ``` - #[inline] #[doc(alias = "reduce")] #[doc(alias = "inject")] + #[inline] #[stable(feature = "rust1", since = "1.0.0")] fn fold<B, F>(mut self, init: B, mut f: F) -> B where |
