Commit d9761b8
authored
Rollup merge of #158282 - ArhanChaudhary:unchecked-subslice, r=tgross35,jhpratt
slice_split_once: bounds check optimization note
Tracking issue: #112811
~~Use unchecked sub-slicing operations for `<T>::split_once` and `<T>::rsplit_once`.~~
Note that unchecked sub-slicing operations are equivalent to the current checked sub-slicing operations.1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
| 2533 | + | |
2533 | 2534 | | |
2534 | 2535 | | |
2535 | 2536 | | |
| |||
2558 | 2559 | | |
2559 | 2560 | | |
2560 | 2561 | | |
| 2562 | + | |
2561 | 2563 | | |
2562 | 2564 | | |
2563 | 2565 | | |
| |||
0 commit comments