mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
22265415c4
Improve `{BTreeMap,HashMap}::get_key_value` docs.
They are unusual methods. The docs don't really describe the cases when they might be useful (as opposed to just `get`), and the examples don't demonstrate the interesting cases at all.
This commit improves the docs and the examples.