Commit 617fdd8
authored
Rollup merge of #154707 - nik-contrib:substr-new-range, r=Mark-Simulacrum
Make `substr_range` and `subslice_range` return the new `Range` type
Makes the unstable `substr_slice` and `substr_range` functions return the new `core::range::Range` type, instead of the old `core::ops::Range`.
Unblocks the [stabilization](#141266) of `#![feature(substr_range)]`, see #141266 (comment)2 files changed
Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5297 | 5297 | | |
5298 | 5298 | | |
5299 | 5299 | | |
| 5300 | + | |
5300 | 5301 | | |
5301 | 5302 | | |
5302 | 5303 | | |
5303 | 5304 | | |
5304 | 5305 | | |
5305 | 5306 | | |
5306 | 5307 | | |
5307 | | - | |
5308 | | - | |
5309 | | - | |
5310 | | - | |
| 5308 | + | |
| 5309 | + | |
| 5310 | + | |
| 5311 | + | |
5311 | 5312 | | |
5312 | 5313 | | |
5313 | 5314 | | |
5314 | | - | |
| 5315 | + | |
5315 | 5316 | | |
5316 | 5317 | | |
5317 | 5318 | | |
| |||
5328 | 5329 | | |
5329 | 5330 | | |
5330 | 5331 | | |
5331 | | - | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
5332 | 5337 | | |
5333 | 5338 | | |
5334 | 5339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
3112 | 3112 | | |
3113 | 3113 | | |
3114 | 3114 | | |
| 3115 | + | |
3115 | 3116 | | |
3116 | 3117 | | |
3117 | 3118 | | |
3118 | 3119 | | |
3119 | | - | |
3120 | | - | |
3121 | | - | |
3122 | | - | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
3123 | 3124 | | |
3124 | 3125 | | |
3125 | 3126 | | |
| |||
0 commit comments