Tracking issue for `str_split_at_unchecked`

オープン
#165,545 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

Read the stabilization section of the Rust std-dev guide linked in the issue, then review the tracking issue and implementation PR #165546. The issue says OsStr::split_at_unchecked depends on #156199; check that dependency and the stabilization criteria before assessing readiness. Done means the stabilization PR is prepared for the listed APIs once the dependency is satisfied.

索引モデルが issue の本文から書いたものです。

説明

C-tracking-issue S-tracking-unimplemented T-libs

Feature gate: #![feature(str_split_at_unchecked)]

This is a tracking issue for exposing the split_at_unchecked and split_at_mut_unchecked on str and OsStr.

Public API
impl str {
    pub const unsafe fn split_at_unchecked(&self, mid: usize) -> (&str, &str);
    pub const unsafe fn split_at_mut_unchecked(&mut self, mid: usize) -> (&mut str, &mut str);
}

impl OsStr {
    pub unsafe fn split_at_unchecked(&self, mid: usize) -> (&OsStr, &OsStr);
}
Remarks

OsStr::split_at_unchecked needs to stabilize after #156199.

Steps / History
  • ACP: rust-lang/libs-team#938
  • Implementation: #165546
  • Stabilization PR^1
Unresolved Questions
  • None yet.
主要言語
Rust
スター
121k
フォーク
17.3k
平均マージ
2日 21時間
マージ済み PR(30日)
531

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rust-lang/rust のほかの issue

rust-lang/rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。