Open
Description
Feature gate: #![feature(path_add_extension)]
This is a tracking issue for
PathBuf::add_extension
Path::with_added_extension
Public API
impl PathBuf {
pub fn add_extension<S: AsRef<OsStr>>(&mut self, extension: S) -> bool { ... )
}
impl Path {
pub fn with_added_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf { ... }
}
Steps / History
- ACP: impl PathBuf::add_extension and Path::with_added_extension libs-team#368
- Implementation: impl PathBuf::add_extension and Path::with_added_extension #123600
- Final comment period (FCP)
- Stabilization PR
Implementation history
- impl PathBuf::add_extension and Path::with_added_extension #123600
- Validate extension in
PathBuf::add_extension
#140163
Unresolved Questions
None yet.