-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: 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.Relevant 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.This 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.The final comment period is finished for this PR / Issue.
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.
Footnotes
DianaNites, Azorlogh, TheLostLambda and TimmmmRocketPrinter, dilawar, ldanko, anatawa12, widberg and 14 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: 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.Relevant 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.This 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.The final comment period is finished for this PR / Issue.