about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2023-12-03 15:18:21 +0100
committerMichal Nazarewicz <mina86@mina86.com>2024-01-20 15:18:31 +0100
commit755cfbf236240e2dd0f0e7c3d8c6d175b04b8883 (patch)
treec2073bb0ba953237b11e4a83f5251b8fd84cbcd5 /compiler/rustc_pattern_analysis/src
parent227abacaef5981c2bee0fe6f087d5dbac8b84e77 (diff)
downloadrust-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