Skip to content

core: introduce split_at{,_mut}_checked#118578

Merged
bors merged 2 commits intorust-lang:masterfrom
mina86:c
Jan 22, 2024
Merged

core: introduce split_at{,_mut}_checked#118578
bors merged 2 commits intorust-lang:masterfrom
mina86:c

Conversation

@mina86
Copy link
Contributor

@mina86 mina86 commented Dec 3, 2023

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants