about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2024-03-13 00:36:54 -0700
committerCelina G. Val <celinval@amazon.com>2024-03-13 00:36:54 -0700
commite0488c0961e5ba693d19f6e1e3f4c9b20631353b (patch)
treeb5c175a3813c4c5c9a53421766a155d151486120 /tests/rustdoc-js-std/parser-slice-array.js
parent7de1a1f6db26cf7af43cca74819118428e6317ee (diff)
downloadrust-e0488c0961e5ba693d19f6e1e3f4c9b20631353b.tar.gz
rust-e0488c0961e5ba693d19f6e1e3f4c9b20631353b.zip
Fix StableMIR is_full computation
`WrappingRange::is_full` computation assumed that to be full the range
couldn't wrap, which is not necessarily true.

For example, a range of 1..=0 is a valid representation of a full
wrapping range.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions