Tracking Issue for const {OsString, PathBuf}::new (original) (raw)

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

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