Skip to content
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

Tracking Issue for PathBuf::add_extension and Path::with_added_extension #127292

Open
2 of 4 tasks
tisonkun opened this issue Jul 3, 2024 · 0 comments
Open
2 of 4 tasks
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature.

Comments

@tisonkun
Copy link
Contributor

tisonkun commented Jul 3, 2024

Feature gate: #![feature(path_add_extension)]

This is a tracking issue for

  • PathBuf::add_extension
  • Path::with_added_extension

Public API

// PathBuf
pub fn add_extension<S: AsRef<OsStr>>(&mut self, extension: S) -> bool { ... )

// Path
pub fn with_added_extension<S: AsRef<OsStr>>(&self, extension: S) -> PathBuf { ... }

Steps / History

Unresolved Questions

None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
@tisonkun tisonkun added the C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. label Jul 3, 2024
@tisonkun tisonkun changed the title Tracking Issue for PathBuf::add_extension and Path::with_added_extension Tracking Issue for PathBuf::add_extension and Path::with_extra_extension Jul 3, 2024
@tisonkun tisonkun changed the title Tracking Issue for PathBuf::add_extension and Path::with_extra_extension Tracking Issue for PathBuf::add_extension and Path:: with_added_extension Jul 4, 2024
@tisonkun tisonkun changed the title Tracking Issue for PathBuf::add_extension and Path:: with_added_extension Tracking Issue for PathBuf::add_extension and Path::with_added_extension Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature.
Projects
None yet
Development

No branches or pull requests

1 participant