Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tracking Issue for str::{floor, ceil}_char_boundary #93743

Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue. disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-periodThe final comment period is finished for this PR / Issue.
@clarfonthey

Description

Feature gate: #![feature(round_char_boundary)]

This is a tracking issue for str::{floor, ceil}_char_boundary.

Public API

impl str {
 // Returns the character boundary at or immediately before `index`
 const fn floor_char_boundary(&self, index: usize) -> usize;
 // Returns the character boundary at or immediately after `index`
 const fn ceil_char_boundary(&self, index: usize) -> usize;
}

Steps / History

Unresolved Questions

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue. disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /