]> git.lizzy.rs Git - rust.git/commit
Document that `Index` ops can panic on `HashMap` & `BTreeMap`.
authorCorey Farwell <coreyf@rwell.org>
Mon, 29 Jan 2018 02:50:01 +0000 (21:50 -0500)
committerCorey Farwell <coreyf@rwell.org>
Mon, 29 Jan 2018 02:51:33 +0000 (21:51 -0500)
commit7b4cbbd12d88c8e64d9c7aa1e326c7c78f2a7ed9
tree0102cb79109da30fd2c1ff54f5d949fe748842fb
parent21882aad7299e8e859785845ac12374990f24dae
Document that `Index` ops can panic on `HashMap` & `BTreeMap`.

Fixes https://github.com/rust-lang/rust/issues/47011.
src/liballoc/btree/map.rs
src/libstd/collections/hash/map.rs