summary refs log tree commit diff
path: root/library/alloc/src/rc
AgeCommit message (Collapse)AuthorLines
2021-01-06Re-stabilize Weak::as_ptr &friends for unsized TCAD97-0/+41
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).
2020-12-28de-stabilize unsized raw ptr methods for WeakRalf Jung-24/+0
2020-09-12Add tests for weak into/from rawCAD97-0/+42
2020-08-27`impl Rc::new_cyclic`mental32-0/+66
2020-07-27mv std libs to library/mark-0/+436