mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-09 22:37:34 +00:00
2f391da2e6
Make the specialized Fuse still deal with None Fixes #85863 by removing the assumption that we'll never see a cleared iterator in the `I: FusedIterator` specialization. Now all `Fuse` methods check for the possibility that `self.iter` is `None`, and the specialization only avoids _setting_ that to `None` in `&mut self` methods. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |