]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #81956 - ssomers:btree_post_75200, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Sun, 14 Feb 2021 04:53:24 +0000 (04:53 +0000)
committerbors <bors@rust-lang.org>
Sun, 14 Feb 2021 04:53:24 +0000 (04:53 +0000)
commitb86674e7cc8ac9c846ed5aca84aaefc2d0d12e4a
tree6117f79ca9d0a680f1b10acd6c2b65a64aa4ccdb
parent8e54a21139ae96a2aca3129100b057662e2799b9
parentf81358d5788f28ed50dd6cb18c275aa6612317ce
Auto merge of #81956 - ssomers:btree_post_75200, r=Mark-Simulacrum

BTree: remove outdated traces of coercions

The introduction of `marker::ValMut` (#75200) meant iterators no longer see mutable keys but their code still pretends it does. And settle on the majority style `Some(unsafe {…})` over `unsafe { Some(…) }`.

r? `@Mark-Simulacrum`
library/alloc/src/collections/btree/map.rs