Skip to content

Tracking Issue for extra deref methods #145037

@clarfonthey

Description

@clarfonthey

Feature gate: #![feature(deref_mut_methods)]

This is a tracking issue for missing named methods which are equivalent to a DerefMut implementation. It is loosely related to #144288, which tracks methods which already exist but are not const-stable.

Public API

impl OsString {
    pub const fn as_mut_os_str(&mut self) -> &mut OsStr;
}
impl PathBuf {
    pub const fn as_mut_path(&mut self) -> &mut Path;
}

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

None.

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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions