]> git.lizzy.rs Git - rust.git/commitdiff
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)
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`

1  2 
library/alloc/src/collections/btree/map.rs