0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-22 18:32:30 +01:00
rust/library/std
León Orell Valerian Liehr 22265415c4
Rollup merge of #132758 - nnethercote:improve-get_key_value-docs, r=cuviper
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.
2024-11-19 04:01:28 +01:00
..
benches
src Rollup merge of #132758 - nnethercote:improve-get_key_value-docs, r=cuviper 2024-11-19 04:01:28 +01:00
tests
build.rs
Cargo.toml