bors
0a43923a86
Auto merge of #97419 - WaffleLapkin:const_from_ptr_range, r=oli-obk
Make `from{,_mut}_ptr_range` const
This PR makes the following APIs `const`:
```rust
// core::slice
pub const unsafe fn from_ptr_range<'a, T>(range: Range<*const T>) -> &'a [T];
pub const unsafe fn from_mut_ptr_range<'a, T>(range: Range<*mut T>) -> &'a mut [T];
```
Tracking issue: #89792.
Feature for `from_ptr_range` as a `const fn`: `slice_from_ptr_range_const`.
Feature for `from_mut_ptr_range` as a `const fn`: `slice_from_mut_ptr_range_const`.
r? `@oli-obk`
2022-05-31 14:55:33 +00:00
..
2022-05-31 14:55:33 +00:00
2022-05-20 09:30:26 +02:00
2022-05-31 14:55:33 +00:00
2022-05-14 02:53:59 +01:00
2022-05-14 02:53:59 +01:00
2022-05-27 07:36:17 -04:00
2022-05-27 19:29:21 +00:00
2022-05-31 06:53:02 +00:00
2022-05-10 19:53:22 +02:00
2022-05-19 04:04:40 +00:00