From 87579fc20776194c2de18a7857d85aecb3f56069 Mon Sep 17 00:00:00 2001 From: parrrate Date: Fri, 12 Sep 2025 18:33:48 +0000 Subject: [PATCH] clarify `all_errors` --- src/exercises/all_errors.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/exercises/all_errors.md b/src/exercises/all_errors.md index 8252d3f..5e5a311 100644 --- a/src/exercises/all_errors.md +++ b/src/exercises/all_errors.md @@ -1,5 +1,8 @@ # Report all errors (or only the first error) +- `only_positive(..., first())` should short-circuit on first non-positive number. +- `only_positive(..., all())` must collect all non-positive numbers. + ```rust # trait Collects { # type Error;