rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.78k stars 12.65k forks source link

Tracking issue for release notes of #126877: CloneToUninit impls #131604

Open rustbot opened 5 days ago

rustbot commented 5 days ago

This issue tracks the release notes text for #126877.

Steps

Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

# Library
- [Generalize `{Rc,Arc}::make_mut()` to `Path`, `OsStr`, and `CStr`.](https://github.com/rust-lang/rust/pull/126877)

[!TIP] Use the previous releases categories to help choose which one(s) to use. The category will be de-duplicated with all the other ones by the release team.

More than one section can be included if needed.

Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section. Otherwise leave it empty.

cc @GrigorenkoPV, @dtolnay -- origin issue/PR authors and assignees for starting to draft text

GrigorenkoPV commented 5 days ago

This PR has the immediate, stable consequence that Rc::make_mut and Arc::make_mut become usable with Rc<str>, Rc<CStr>, Rc<OsStr>, Rc<Path> and Arc<_> of the same 4 dynamically sized types.

Originally posted by dtolnay in https://github.com/rust-lang/rust/issues/126877#issuecomment-2218864264

So effectively the only stable-visible change of this PR is a few new APIs in std.