diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-04 10:01:52 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-04 10:01:52 +1000 |
| commit | 98f6887f359e791b430fb69b7ed68460343167b9 (patch) | |
| tree | 95c2458510c86b046fb0017c5d81510c3ab2e8e8 /library/std/tests | |
| parent | 732802c20745679757cd4a6191963acd821033a1 (diff) | |
| parent | 52063ae24860bb5cb3abc6f3dd83904bc18a3b0f (diff) | |
| download | rust-98f6887f359e791b430fb69b7ed68460343167b9.tar.gz rust-98f6887f359e791b430fb69b7ed68460343167b9.zip | |
Rollup merge of #145209 - hanna-kruppe:path_add_extension, r=tgross35
Stabilize `path_add_extension` FCP in tracking issue rust-lang/rust#127292 finished in January. There was more discussion since then, but [libs-api decided to match `set_extension`][0] by keeping the return type as-is and adding a panic for invalid extensions. The latter was implemented in rust-lang/rust#140163, so this feature should be ready for stabilization. But if anyone's unsure, another FCP could be done to confirm. Closes rust-lang/rust#127292 [0]: https://github.com/rust-lang/rust/issues/127292#issuecomment-2605197960
Diffstat (limited to 'library/std/tests')
| -rw-r--r-- | library/std/tests/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/path.rs b/library/std/tests/path.rs index e1576a0d423..3577f0d9c7b 100644 --- a/library/std/tests/path.rs +++ b/library/std/tests/path.rs @@ -1,4 +1,4 @@ -#![feature(clone_to_uninit, path_add_extension, maybe_uninit_slice, normalize_lexically)] +#![feature(clone_to_uninit, maybe_uninit_slice, normalize_lexically)] use std::clone::CloneToUninit; use std::ffi::OsStr; |
