mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
bb6c249f99
Previously, this method called the more general `pat_constructor` function, which can return other pattern variants besides `IntRange`. Then it throws away any non-`IntRange` variants. Specialize it so work is only done when it could result in an `IntRange`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |