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;