<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src/collections, branch 1.85.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-12-27T02:56:48+00:00</updated>
<entry>
<title>Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum</title>
<updated>2024-12-27T02:56:48+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2024-12-27T02:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9551808f424c6c852e3c836699498afe644fe0bf'/>
<id>urn:sha1:9551808f424c6c852e3c836699498afe644fe0bf</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Specify only that duplicates are discarded, not the order.</title>
<updated>2024-12-22T16:16:54+00:00</updated>
<author>
<name>Kevin Reid</name>
<email>kpreid@switchb.org</email>
</author>
<published>2024-12-22T16:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a43716ada10c18d6991dd9408ce2f31214cb8f3'/>
<id>urn:sha1:6a43716ada10c18d6991dd9408ce2f31214cb8f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document collection `From` and `FromIterator` impls that drop duplicate keys.</title>
<updated>2024-12-22T03:57:42+00:00</updated>
<author>
<name>Kevin Reid</name>
<email>kpreid@google.com</email>
</author>
<published>2021-10-13T15:46:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5e8a5d3939935eecfe8ed2dbc97ad748e090d90'/>
<id>urn:sha1:b5e8a5d3939935eecfe8ed2dbc97ad748e090d90</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Less unwrap() in documentation</title>
<updated>2024-12-21T01:26:47+00:00</updated>
<author>
<name>Kornel</name>
<email>kornel@geekhood.net</email>
</author>
<published>2024-12-20T17:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b42bc0c7935e9f5fefd017249041d64f27bb583'/>
<id>urn:sha1:7b42bc0c7935e9f5fefd017249041d64f27bb583</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove bounds from vec and linkedlist ExtractIf</title>
<updated>2024-12-16T21:06:52+00:00</updated>
<author>
<name>The 8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2024-11-20T22:13:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03f1b733390e059bed22e0113db1941183917311'/>
<id>urn:sha1:03f1b733390e059bed22e0113db1941183917311</id>
<content type='text'>
since drain-on-drop behavior was removed those bounds
no longer serve a purpose
</content>
</entry>
<entry>
<title>Add clarity to the "greater" of `VecDeque::insert`</title>
<updated>2024-12-14T14:25:55+00:00</updated>
<author>
<name>tkirishima</name>
<email>tkirishima@proton.me</email>
</author>
<published>2024-12-14T14:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=891a75b3a1c68eeac8b9884563ad5f30a2c00b89'/>
<id>urn:sha1:891a75b3a1c68eeac8b9884563ad5f30a2c00b89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace i32 by char to add clarity</title>
<updated>2024-12-14T14:25:55+00:00</updated>
<author>
<name>tkirishima</name>
<email>tkirishima@proton.me</email>
</author>
<published>2024-12-14T14:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ea048cf055df6ffe9cf50725da08084d98d20b26'/>
<id>urn:sha1:ea048cf055df6ffe9cf50725da08084d98d20b26</id>
<content type='text'>
In some `Vec` and `VecDeque` examples where elements are i32, examples can seem a bit confusing at first glance if a parameter of the method is an usize.
</content>
</entry>
<entry>
<title>Move some alloc tests to the alloctests crate</title>
<updated>2024-12-04T14:32:04+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-12-04T14:26:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b440ef8cdf029476d84e6ce8841f1e549d60998f'/>
<id>urn:sha1:b440ef8cdf029476d84e6ce8841f1e549d60998f</id>
<content type='text'>
Unit tests directly inside of standard library crates require a very
fragile way of building that is hard to reproduce outside of bootstrap.
</content>
</entry>
<entry>
<title>Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhpratt</title>
<updated>2024-12-02T03:10:23+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2024-12-02T03:10:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f7a10670f889bc086021d62434b8573a2bb042e'/>
<id>urn:sha1:8f7a10670f889bc086021d62434b8573a2bb042e</id>
<content type='text'>
Remove a bunch of unnecessary const stability noise
</content>
</entry>
<entry>
<title>get rid of a bunch of unnecessary rustc_const_unstable</title>
<updated>2024-11-30T10:55:58+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-11-30T09:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ce2116aef0677c6f59890d9bd3acea890fa5cbb'/>
<id>urn:sha1:4ce2116aef0677c6f59890d9bd3acea890fa5cbb</id>
<content type='text'>
</content>
</entry>
</feed>
