-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'is_empty' method for 'std::path::Path' #1497
Comments
But this was done on that linked PR? |
Proper rationale here: rust-lang/rust#30259 IMO it doesn't really make any semantical sense for a path to be empty, and adding |
Is this really worth an RFC? I mean this is an incredibly small issue, and doubt anyone would be against it. |
@alexcrichton Should I/we bother with the RFC dance here or can I/we assume that rust-lang/rust#31231 (comment) is confirmation of acceptance about |
Yeah this is probably fine without an RFC (it'll start out as unstable anyway) |
Cool, I'll open a PR for this in rust-lang/rust then. |
Original issue requesting this feature: rust-lang#30259 Originally implemented in rust-lang#30623 but that pull request when stale. It was rebased in rust-lang#31231, but the `Path` changes got lost as the focus shifted towards `OsString` and `OsStr`. An RFC (rust-lang/rfcs#1497) was briefly opened, since I didn't know if this functionality needed an RFC, but @alexcrichton clarified in the RFC issue I linked that this is not the case.
Related to rust-lang/rust#31231
The text was updated successfully, but these errors were encountered: