Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logic bug in stream::Stream::filter_map doctest (#2765)
The operator for the modulo and the test were swapped, and using "modulo zero" is undefined and results in an unconditional panic, which is now caught with Rust 1.71 (unconditional_panic lint).
- Loading branch information