about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-15 03:54:33 +0000
committerbors <bors@rust-lang.org>2023-05-15 03:54:33 +0000
commit0bcfd2d96efe7a2cb5205c3af1b9eea17423fe65 (patch)
treebe2db15597b13c42754e9de5f7e13244f3ebe7f3 /compiler/rustc_data_structures
parent8d18c32b61476ed16dd15074e71be3970368d6d7 (diff)
parentb46b05d1d2374a788787ce3d850d06794a6174c0 (diff)
downloadrust-0bcfd2d96efe7a2cb5205c3af1b9eea17423fe65.tar.gz
rust-0bcfd2d96efe7a2cb5205c3af1b9eea17423fe65.zip
Auto merge of #108273 - tspiteri:const_slice_split_at_not_mut, r=dtolnay
Stabilize const slice::split_at

This stabilizes the use of the following method in const context:

```rust
impl<T> [T] {
    pub const fn split_at(&self, mid: usize) -> (&[T], &[T]);
}
```

cc tracking issue #101158
Diffstat (limited to 'compiler/rustc_data_structures')
0 files changed, 0 insertions, 0 deletions