mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
e5a6e5c90d
Stabilize const-weak-new This is a fairly uncontroversial library stabilization, so I'm going ahead and proposing it to ride the trains to stable. This stabilizes the following APIs, which are defined to be non-allocating constructors. ```rust // alloc::rc impl<T> Weak<T> { pub const fn new() -> Weak<T>; } // alloc::sync impl<T> Weak<T> { pub const fn new() -> Weak<T>; } ``` Closes #95091 ``@rustbot`` modify labels: +needs-fcp |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |