<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src/collections, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-10T02:56:22+00:00</updated>
<entry>
<title>remove redundant imports</title>
<updated>2023-12-10T02:56:22+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae34194c586eea3614d3216322053d2e8e7b37'/>
<id>urn:sha1:40ae34194c586eea3614d3216322053d2e8e7b37</id>
<content type='text'>
detects redundant imports that can be eliminated.

for #117772 :

In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
</content>
</entry>
<entry>
<title>Auto merge of #114136 - TennyZhuang:linked-list-retain, r=thomcc</title>
<updated>2023-12-09T02:38:45+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-09T02:38:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a3aa4ad149438a9b11f758c16df9e222de51f91'/>
<id>urn:sha1:1a3aa4ad149438a9b11f758c16df9e222de51f91</id>
<content type='text'>
add LinkedList::{retain,retain_mut}

Implement #114135

The API is consistent with other collections.
</content>
</entry>
<entry>
<title>Rollup merge of #118398 - mu001999:std/add_cfgs, r=thomcc</title>
<updated>2023-11-29T03:23:23+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-11-29T03:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7016ae20591cbe2da3f4b747d69714dd690c158'/>
<id>urn:sha1:b7016ae20591cbe2da3f4b747d69714dd690c158</id>
<content type='text'>
Add proper cfgs in std

Detected by #118257
</content>
</entry>
<entry>
<title>Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviper</title>
<updated>2023-11-28T12:22:16+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-11-28T12:22:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df0295f07175acc7325ce3ca4152eb05752af1f2'/>
<id>urn:sha1:df0295f07175acc7325ce3ca4152eb05752af1f2</id>
<content type='text'>
Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunks

This enables the following cases to collect in-place:

```rust
let v = vec![[0u8; 4]; 1024]
let v: Vec&lt;_&gt; = v.into_iter().flatten().collect();

let v: Vec&lt;Option&lt;NonZeroUsize&gt;&gt; = vec![NonZeroUsize::new(0); 1024];
let v: Vec&lt;_&gt; = v.into_iter().flatten().collect();

let v = vec![u8; 4096];
let v: Vec&lt;_&gt; = v.into_iter().array_chunks::&lt;4&gt;().collect();
```

Especially the nicheful-option-flattening should be useful in real code.
</content>
</entry>
<entry>
<title>Add proper cfgs</title>
<updated>2023-11-28T01:02:34+00:00</updated>
<author>
<name>r0cky</name>
<email>mu001999@outlook.com</email>
</author>
<published>2023-11-26T06:24:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c751bfa015ab9e99f3c7845cebf04eb543648042'/>
<id>urn:sha1:c751bfa015ab9e99f3c7845cebf04eb543648042</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mark constructor of `BinaryHeap` as const fn</title>
<updated>2023-10-28T13:30:43+00:00</updated>
<author>
<name>coekjan</name>
<email>cn_yzr@qq.com</email>
</author>
<published>2023-10-28T13:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4dd7568a97058c0a2d17f6ace15e42403f93cea1'/>
<id>urn:sha1:4dd7568a97058c0a2d17f6ace15e42403f93cea1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make BTreeSet::new_in const</title>
<updated>2023-10-09T09:17:56+00:00</updated>
<author>
<name>Sven Bartscher</name>
<email>sven.bartscher@netapp.com</email>
</author>
<published>2023-10-09T09:17:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d60b43c06aad0b181b72ba5ed389961436ac1609'/>
<id>urn:sha1:d60b43c06aad0b181b72ba5ed389961436ac1609</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make BTreeMap::new_in const</title>
<updated>2023-10-09T09:08:48+00:00</updated>
<author>
<name>Sven Bartscher</name>
<email>sven.bartscher@netapp.com</email>
</author>
<published>2023-10-09T09:08:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbc230478c5a282a83592830dc338407ed9804eb'/>
<id>urn:sha1:bbc230478c5a282a83592830dc338407ed9804eb</id>
<content type='text'>
Closes rust-lang/wg-allocators#118
</content>
</entry>
<entry>
<title>Fix misuses of a vs an</title>
<updated>2023-10-04T00:01:11+00:00</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-09-28T08:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f44d116e1f9a513b8730c1629bf17592bcd9784a'/>
<id>urn:sha1:f44d116e1f9a513b8730c1629bf17592bcd9784a</id>
<content type='text'>
Signed-off-by: cui fliter &lt;imcusg@gmail.com&gt;
</content>
</entry>
<entry>
<title>edit `std::collections::VecDeque` docs</title>
<updated>2023-09-16T13:52:34+00:00</updated>
<author>
<name>mxnkarou</name>
<email>mxnkarou@icloud.com</email>
</author>
<published>2023-09-16T13:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c7a77a638c523499252feaec986ee99c5d0baf5'/>
<id>urn:sha1:1c7a77a638c523499252feaec986ee99c5d0baf5</id>
<content type='text'>
</content>
</entry>
</feed>
