Skip to content

Add Arc::into_inner for safely discarding Arcs without calling the destructor on the inner type.#79665

Closed
steffahn wants to merge 15 commits into
rust-lang:masterfrom
steffahn:drop_linear_arc
Closed

Add Arc::into_inner for safely discarding Arcs without calling the destructor on the inner type.#79665
steffahn wants to merge 15 commits into
rust-lang:masterfrom
steffahn:drop_linear_arc

into_inner example: prefer "imperative" `if let` over `.map()`

ecb85f0
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs