-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for path_trailing_sep #142503
Copy link
Copy link
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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.
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(path_trailing_sep)]This is a tracking issue for the
Path::has_trailing_sepand related methods, which enforce whether aPathorPathBufends in a trailing separator.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)PathBuf::has_dir_suffixlibs-team#335Path::has_trailing_sepand related methods #142506Unresolved Questions
set_trailing_sepAPI orpush_trailing_sep/pop_trailing_sepseparately? Right now, both are offered to see which is preferred.trim_trailing_sepnecessary? It wasn't in the original ACP.trim_trailing_sepwill leave/as/, buthas_trailing_sepreturns true for/. That seems like a possible bug?Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩