rust/library/core
Matthias Krüger c0b1c1aedf
Rollup merge of #117243 - chfogelman:replace-not-swap-comment, r=thomcc
Explain implementation of mem::replace

This adds a comment to explain why `mem::replace` is not implemented in terms of `mem::swap` to prevent [naïfs like me](https://github.com/rust-lang/rust/pull/117189) from trying to "fix" it.
2023-10-26 22:26:12 +02:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Rollup merge of #117243 - chfogelman:replace-not-swap-comment, r=thomcc 2023-10-26 22:26:12 +02:00
tests Rollup merge of #116714 - WaffleLapkin:order-the-order, r=joshtriplett 2023-10-24 19:29:54 +02:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00