mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 03:45:30 +00:00
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.