mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
c2d1b0d980
BTreeMap: enforce the panic rule imposed by `replace` Also, reveal the unsafe parts in the closures fed to it. r? @Mark-Simulacrum