mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +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.