mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
b5e8a5d393
This behavior is worth documenting because there are other plausible alternatives, such as panicking when a duplicate is encountered, and it reminds the programmer to consider whether they should, for example, coalesce duplicate keys first.