mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
72651306b3
Clarify/add `must_use` message for Rc/Arc/Weak::into_raw.
The current `#[must_use]` messages for `{sync,rc}::Weak::into_raw` ("`self` will be dropped if the result is not used") are misleading, as `self` is consumed and will *not* be dropped.
This PR changes their `#[must_use]` message to the same as `Arc::into_raw`'s[ current `#[must_use]` message](
|
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |