mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

More `mem::take` in `library` A bunch of places were using `replace(…, &mut [])`, but that can just be `take`.
More `mem::take` in `library` A bunch of places were using `replace(…, &mut [])`, but that can just be `take`.