rust/library/alloc/src/rc
CAD97 6bc772cdc0 Re-stabilize Weak::as_ptr &friends for unsized T
As per T-lang consensus, this uses a branch to handle the dangling case.
The discussed optimization of only doing the branch in the T: ?Sized
case is left for a followup patch, as doing so is not trivial
(as it requires specialization for correctness, not just optimization).
2021-01-06 19:30:22 -05:00
..
tests.rs Re-stabilize Weak::as_ptr &friends for unsized T 2021-01-06 19:30:22 -05:00