Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#44534 - adlerd:drain_filter_doctest, r=bluss
Fix drain_filter doctest. Fixes rust-lang#44499. Also change some of the hidden logic in the doctest as a regression test; two bugs in the original would now cause test failure.
- Loading branch information