rust/library/alloc/src/collections
Jacob Pratt 9551808f42
Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
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.
2024-12-26 21:56:48 -05:00
..
binary_heap Less unwrap() in documentation 2024-12-21 01:26:47 +00:00
btree Specify only that duplicates are discarded, not the order. 2024-12-22 08:16:54 -08:00
linked_list Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec_deque Add clarity to the "greater" of VecDeque::insert 2024-12-14 14:25:55 +00:00
linked_list.rs remove bounds from vec and linkedlist ExtractIf 2024-12-16 22:06:52 +01:00
mod.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00