Allows taking ownership of a value from a mutable reference temporarily, replacing it with a default.
# Cargo.toml
[dependencies]
take_mut = "0.2.2"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Temporarily take ownership of a value from a mutable reference.
Ensure the closure does not panic, or use a safe alternative like std::mem::take.
No dependency data recorded yet.