From d716af8529b3cfdcbd09c878c8f421ff91777ba9 Mon Sep 17 00:00:00 2001 From: parrrate Date: Thu, 9 Apr 2026 12:56:15 +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;