clarify all_errors

This commit is contained in:
AF 2025-09-12 18:33:48 +00:00
parent cff2336890
commit 87579fc207
Signed by: alisa
SSH Key Fingerprint: SHA256:vNY4pdIZvO1FYJKHROkdHLtvyopizvZVAEwg9AF6h04

View File

@ -1,5 +1,8 @@
# Report all errors (or only the first error) # 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 ```rust
# trait Collects { # trait Collects {
# type Error; # type Error;