Commit e821731
authored
Rollup merge of #150777 - stabilize_elem_offset, r=jhpratt
Stabilize `slice::element_offset`
[slice::element_offset](https://doc.rust-lang.org/std/primitive.slice.html#method.element_offset)
Partially stabilizes #126769 (substr_range).
[FCP completed](#126769 (comment))
The other methods are [stalled because of the new range types](#126769 (comment)), but this method doesn't use ranges.1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4809 | 4809 | | |
4810 | 4810 | | |
4811 | 4811 | | |
4812 | | - | |
4813 | | - | |
4814 | 4812 | | |
4815 | 4813 | | |
4816 | 4814 | | |
| |||
4819 | 4817 | | |
4820 | 4818 | | |
4821 | 4819 | | |
4822 | | - | |
4823 | | - | |
4824 | 4820 | | |
4825 | 4821 | | |
4826 | 4822 | | |
| |||
4834 | 4830 | | |
4835 | 4831 | | |
4836 | 4832 | | |
4837 | | - | |
| 4833 | + | |
4838 | 4834 | | |
4839 | 4835 | | |
4840 | 4836 | | |
| |||
0 commit comments