mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
8f8af0b5ba
fix stale comments left over fromed3711eRemove stale overflow comments in core::str. Commited3711eaintroduced stale comments in library/core/src/str/iter.rs. Prior to that commit, the comments explained why `(len + 3)` and `(len + 2)` couldn't overflow. Since the code now uses `div_ceil`, these specific overflow justifications are no longer relevant to the current implementation.