Skip to content

Tracking Issue for const {OsString, PathBuf}::new #141520

@cyrgani

Description

@cyrgani

Feature gate: #![feature(const_pathbuf_osstring_new)]

This is a tracking issue for making OsString::new and PathBuf::new const functions.

Public API

impl OsString {
    pub const fn new() -> OsString;
}
impl PathBuf {
    pub const fn new() -> PathBuf;
}

Steps / History

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

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 RFCS-tracking-ready-to-stabilizeStatus: This is ready to stabilize; it may need a stabilization report and a PRT-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.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions