-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Path::dirname should return Path instead of [u8] #14049
Comments
We already have |
This was addressed in rust-lang/rfcs#474, as @kballard points out. |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Feb 4, 2015
This PR implements [path reform](rust-lang/rfcs#474), and motivation and details for the change can be found there. For convenience, the old path API is being kept as `old_path` for the time being. Updating after this PR is just a matter of changing imports to `old_path` (which is likely not needed, since the prelude entries still export the old path API). This initial PR does not include additional normalization or platform-specific path extensions. These will be done in follow up commits or PRs. [breaking-change] Closes rust-lang#20034 Closes rust-lang#12056 Closes rust-lang#11594 Closes rust-lang#14028 Closes rust-lang#14049 Closes rust-lang#10035
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 13, 2023
internal: Add a manual section for Flatpak Fixes rust-lang#14042
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The manipulation fns on Path should remain Path types in general.
The text was updated successfully, but these errors were encountered: