mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +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.