diff --git a/src/lib.rs b/src/lib.rs index c8422f531..2a450bd8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2499,7 +2499,8 @@ pub trait Itertools: Iterator { /// └─f─f─f─f─f─f /// ``` /// - /// If `f` is associative, prefer the normal [`Iterator::reduce`] instead. + /// If `f` is non-associative, prefer the normal [`Iterator::reduce`] instead to prevent + /// unexpected behavior unless you know what you're doing. /// /// ``` /// use itertools::Itertools;