//! Free functions from [`std::mem`] accepted by the arcis interpreter.
//!
//! See the [parent module docs](super) for how to read this module.
const STUB_MSG: &str = "arcis::std::mem is documentation-only; \
inside `#[encrypted]` code the interpreter intercepts the real function before this stub runs.";
/// Moves `src` into `dest`, returning the previous value of `dest`.
///
/// Mirrors [`std::mem::replace`].
/// Swaps the values of `x` and `y` without deinitializing either.
///
/// Mirrors [`std::mem::swap`].