Skip to content

Tracking Issue for const_str_as_mut #130086

Closed
@RalfJung

Description

@RalfJung

Feature gate: #![feature(const_str_as_mut)]

This is a tracking issue for const mutable str accessors:

impl str {
    pub const unsafe fn as_bytes_mut(&mut self) -> &mut [u8];
    pub const fn as_mut_ptr(&mut self) -> *mut u8;
}

Steps / History

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: 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.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.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions