From c095cdbcbd87e3cde1bbaa230cf6114910ef65d1 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sun, 3 Aug 2025 19:59:06 +0100 Subject: [PATCH] Tweak doc of ExactlyOneError --- src/exactly_one_err.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/exactly_one_err.rs b/src/exactly_one_err.rs index e951d4106..6e79f99fd 100644 --- a/src/exactly_one_err.rs +++ b/src/exactly_one_err.rs @@ -8,7 +8,9 @@ use either::Either; use crate::size_hint; -/// Iterator returned for the error case of `Itertools::exactly_one()` +/// Iterator returned for the error case of `Itertools` +/// [`exactly_one()`](crate::Itertools::exactly_one) and +/// [`at_most_one()`](crate::Itertools::at_most_one). /// This iterator yields exactly the same elements as the input iterator. /// /// During the execution of `exactly_one` the iterator must be mutated. This wrapper