mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 21:43:59 +00:00
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.