- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(const_is_char_boundary)]
This is a tracking issue for using str::is_char_boundary in const, which allows checking that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string during const-eval.
Public API
// core::str
impl str {
    pub const fn is_char_boundary(&self, index: usize) -> bool;
}Steps / History
-  Implementation: Mark str::is_char_boundaryandstr::split_at*unstablyconst. #131520
-  Final comment period (FCP)1: Stabilize const_is_char_boundaryandconst_str_split_at. #134016 (comment)
-  Stabilization PR: Stabilize const_is_char_boundaryandconst_str_split_at. #134016
Unresolved Questions
- None yet.
Footnotes
bjoernager
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.