about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-26 06:24:22 +0000
committerbors <bors@rust-lang.org>2023-12-26 06:24:22 +0000
commitf6456285ddca7db0ffc663d02d9ecaf22d1f0d82 (patch)
treeadb3ae0a1472a693e79543eb856d80f304fb530e /tests/rustdoc-js-std/osstring-to-string.js
parent1ab783112ab4e4807304dbd249b39771246013ef (diff)
parentc082c1c4c37cb672e295a4cb1700fafb51d1e824 (diff)
downloadrust-f6456285ddca7db0ffc663d02d9ecaf22d1f0d82.tar.gz
rust-f6456285ddca7db0ffc663d02d9ecaf22d1f0d82.zip
Auto merge of #119285 - lch361:split-no-panic, r=the8472
Removed redundant bounds checking at Split's next and next_back methods

Since these methods are using `Iterator::rposition`, which always returns a valid index, then there is no point in regular indexing with bounds checking
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions