diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2023-12-03 15:18:21 +0100 |
|---|---|---|
| committer | Michal Nazarewicz <mina86@mina86.com> | 2024-01-20 15:18:31 +0100 |
| commit | 755cfbf236240e2dd0f0e7c3d8c6d175b04b8883 (patch) | |
| tree | c2073bb0ba953237b11e4a83f5251b8fd84cbcd5 /compiler/rustc_pattern_analysis/src | |
| parent | 227abacaef5981c2bee0fe6f087d5dbac8b84e77 (diff) | |
| download | rust-755cfbf236240e2dd0f0e7c3d8c6d175b04b8883.tar.gz rust-755cfbf236240e2dd0f0e7c3d8c6d175b04b8883.zip | |
core: introduce split_at{,_mut}_checked
Introduce split_at_checked and split_at_mut_checked methods to slices types (including str) which are non-panicking versions of split_at and split_at_mut respectively. This is analogous to get method being non-panicking version of indexing.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
