core/slice: Mark some split_off variants unstably const by okaneco · Pull Request #138540 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation5 Commits1 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

okaneco

Tracking issue: #138539

Add feature gate #![feature(const_split_off_first_last)]
Mark split_off_first, split_off_first_mut, split_off_last, and split_off_last_mut slice methods unstably const

@okaneco

Introduce feature const_split_off_first_last Mark split_off_first, split_off_first_mut, split_off_last, and split_off_last_mut unstably const

@rustbot

r? @thomcc

rustbot has assigned @thomcc.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Mar 15, 2025

@thomcc

@rustbot rustbot added the T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.

label

Mar 15, 2025

@m-ou-se

@bors

📌 Commit e1388bf has been approved by m-ou-se

It is now in the queue for this repository.

@bors

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Mar 18, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 19, 2025

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 19, 2025

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Mar 20, 2025

@rust-timer

Rollup merge of rust-lang#138540 - okaneco:const_split_off_first_last, r=m-ou-se

core/slice: Mark some split_off variants unstably const

Tracking issue: rust-lang#138539

Add feature gate #![feature(const_split_off_first_last)] Mark split_off_first, split_off_first_mut, split_off_last, and split_off_last_mut slice methods unstably const

@okaneco okaneco deleted the const_split_off_first_last branch

March 20, 2025 00:55

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Apr 2, 2025

@matthiaskrgr

…, r=m-ou-se

core/slice: Mark some split_off variants unstably const

Tracking issue: rust-lang#138539

Add feature gate #![feature(const_split_off_first_last)] Mark split_off_first, split_off_first_mut, split_off_last, and split_off_last_mut slice methods unstably const

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.

T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.