mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
2e0a26a32a
Skip unnecessary comparison with half-open range patterns This is the last remaining detail in the implementation of half-open range patterns. Until now, a half-open range pattern like `10..` was converted to `10..T::MAX` before lowering to MIR, which generated an extra pointless comparison. With this PR we don't generate it. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |