-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize core::str::from_utf8_mut
as const
#136668
Conversation
core::str::from_utf8_mut
core::str::from_utf8_mut
as const
For context this stabilizes the following function in // core::str
pub const fn from_utf8_mut(v: &mut [u8]) -> Result<&mut str, Utf8Error>; Note that similar |
This comment has been minimized.
This comment has been minimized.
d7480fc
to
e059e64
Compare
e059e64
to
0066688
Compare
@rfcbot merge |
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
☔ The latest upstream changes (presumably #137163) made this pull request unmergeable. Please resolve the merge conflicts. |
#137277 should land before this, in which case this can probably be updated to include the inherent |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
0066688
to
bf3ed81
Compare
I've rebased on master; this now stabilizes the inherited function as |
@bors r+ |
Cc @rust-lang/wg-const-eval |
@bors rollup |
Rollup of 8 pull requests Successful merges: - rust-lang#134655 (Stabilize `hash_extract_if`) - rust-lang#135933 (Explain how Vec::with_capacity is faithful) - rust-lang#136668 (Stabilize `core::str::from_utf8_mut` as `const`) - rust-lang#136775 (Update `String::from_raw_parts` safety requirements) - rust-lang#137109 (stabilize extract_if) - rust-lang#137349 (Implement `read_buf` for zkVM stdin) - rust-lang#137493 (configure.py: don't instruct user to run nonexistent program) - rust-lang#137516 (remove some unnecessary rustc_const_unstable) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#136668 - WaffleLapkin:from_utf8_mut, r=Amanieu Stabilize `core::str::from_utf8_mut` as `const` cc rust-lang#91006 (tracking issue) r? libs-api
cc #91006 (tracking issue)
r? libs-api