mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 02:49:25 +00:00
It looks like current usage of `swap` is aimed at achieving what `std::mem::replace` does but more concisely and idiomatically.
It looks like current usage of `swap` is aimed at achieving what `std::mem::replace` does but more concisely and idiomatically.