Title: Theory / Unimportant / CS / Programming / Rust / Library / mem
Tags: automatedNewLineAfterCommaSpace

Instruction: std::mem::replace(
  mut_reference,
  new_value
)
Page: https://rust-unofficial.github.io/too-many-lists/first-push.html
Effect: set mut_reference to new_value
Language: rust
Returns: old value of mut_reference