rust/library/alloc/src
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
..
boxed replace placeholder version 2024-11-27 12:10:21 +00:00
collections Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum 2024-12-26 21:56:48 -05:00
ffi Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
raw_vec Polymorphize RawVec 2024-08-09 20:06:26 -04:00
rc Use c"lit" for CStrings without unwrap 2024-12-02 18:16:36 +00:00
testing Reformat use declarations. 2024-07-29 08:26:52 +10:00
vec Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472 2024-12-22 16:09:16 +00:00
alloc.rs Move some alloc tests to the alloctests crate 2024-12-04 14:32:04 +00:00
borrow.rs remove const_cow_is_borrowed feature gate 2024-10-12 19:48:28 +02:00
boxed.rs Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 2024-12-18 13:54:50 +01:00
fmt.rs Added struct fmt::FormattingOptions 2024-12-05 21:48:01 +01:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
macros.rs Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
raw_vec.rs Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrum 2024-11-29 22:39:10 +00:00
rc.rs Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay 2024-12-26 21:56:48 -05:00
slice.rs Change GetManyMutError to match T-libs-api decision 2024-11-28 23:34:47 +02:00
str.rs Inline str::repeat 2024-11-06 18:54:50 +00:00
string.rs Remove support for specializing ToString outside the standard library 2024-12-13 13:48:19 +00:00
sync.rs Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay 2024-12-26 21:56:48 -05:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00