- Why does Rc::from_box clone the contents of the Box? https://doc.rust-lang.org/src/alloc/rc.rs.html#1429 11 comments rust
- Why does `Weak::weak_count` return 0 when strong is 0? https://doc.rust-lang.org/src/alloc/rc.rs.html#2281 19 comments rust
- What invariants must hold to access an object's fields (regarding unsafe & Rc::drop)? https://doc.rust-lang.org/src/alloc/rc.rs.html#281-284 6 comments rust
Would you like to stay up to date with Rust? Checkout Rust
Weekly.
Related searches:
Search whole site: site:doc.rust-lang.org
Search title: rc.rs - source
See how to search.