mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
9551808f42
Document collection `From` and `FromIterator` impls that drop duplicate keys. 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. Followup to #89869.