]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #81526 - ojeda:btree-use-unwrap_unchecked, r=scottmcm
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 7 Feb 2021 13:45:46 +0000 (14:45 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 13:45:46 +0000 (14:45 +0100)
commit6e1f7139c9bf1bb6d7087a2d7e10fb66df6efab9
tree9d6d060cff4dcbc28899caab58b809ecf3f2ae52
parent43e1ea29c4e92dfa2ba716fc878984605897fb13
parent62f98a2509df9d660524334c5ea02b6269d695f4
Rollup merge of #81526 - ojeda:btree-use-unwrap_unchecked, r=scottmcm

btree: use Option's unwrap_unchecked()

Now that https://github.com/rust-lang/rust/issues/81383 is available, start using it.
library/alloc/src/collections/btree/map.rs
library/alloc/src/lib.rs