mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
61a1dbd751
Relax `A: Clone` bound for `rc::Weak::into_raw_and_alloc` Makes this method to behave the same way as [`Box::into_raw_with_allocator`](https://doc.rust-lang.org/1.77.2/alloc/boxed/struct.Box.html#method.into_raw_with_allocator) and [`Vec::into_raw_parts_with_alloc`](https://doc.rust-lang.org/1.77.2/alloc/vec/struct.Vec.html#method.into_raw_parts_with_alloc). I have also noticed the inconsistent presence and naming, should probably be addressed in the future. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |