<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src/collections/btree, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-06-27T18:12:32+00:00</updated>
<entry>
<title>BTreeSet: remove duplicated code by reusing `from_sorted_iter`</title>
<updated>2025-06-27T18:12:32+00:00</updated>
<author>
<name>Cheng Xu</name>
<email>git@xuc.me</email>
</author>
<published>2025-06-27T18:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd1713ebba83a87e80a7366fdfe6fc28cabe6053'/>
<id>urn:sha1:cd1713ebba83a87e80a7366fdfe6fc28cabe6053</id>
<content type='text'>
The method `BTreeSet::from_sorted_iter` was introduced in 49ccb7519f55bd117d2ab50b7a030637f380aec6,
but it was not consistently used throughout the codebase. As a result, some code redundantly reimplemented its logic.
This commit fixes the problem.
</content>
</entry>
<entry>
<title>Remove unneeded lifetimes from signature of BTreeSet::extract_if</title>
<updated>2025-06-14T03:33:54+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2025-06-14T03:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dac9d78647f2a1483710e2417d817c7df04eba8d'/>
<id>urn:sha1:dac9d78647f2a1483710e2417d817c7df04eba8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lightly tweak docs for BTree{Map,Set}::extract_if</title>
<updated>2025-06-02T17:10:00+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-06-02T16:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a20cf473e7b888f9ef7995971f0c5613a81e68ff'/>
<id>urn:sha1:a20cf473e7b888f9ef7995971f0c5613a81e68ff</id>
<content type='text'>
- Move explanations into comments to match style
- Explain the second examples
- Make variable names match the data structure
</content>
</entry>
<entry>
<title>Unit test for Range parameter of `BTreeMap::extract_if`</title>
<updated>2025-05-27T15:31:56+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-05-08T00:07:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8656d9e619f7b8ee3bde8bc7ee57a7847c0a5b10'/>
<id>urn:sha1:8656d9e619f7b8ee3bde8bc7ee57a7847c0a5b10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update docs for new Range parameter to `BTreeMap::extract_if` etc.</title>
<updated>2025-05-27T15:31:56+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-05-08T00:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38c37eb3cbd87894cdab588b5002fa07803feff7'/>
<id>urn:sha1:38c37eb3cbd87894cdab588b5002fa07803feff7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests with Range parameter to `BTreeMap::extract_if` etc.</title>
<updated>2025-05-27T15:31:56+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-05-08T00:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ae96fcd792f000da741e4c73effb7bfb89cee1d'/>
<id>urn:sha1:1ae96fcd792f000da741e4c73effb7bfb89cee1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Range parameter to `BTreeMap::extract_if` and `BTreeSet::extract_if`</title>
<updated>2025-05-27T15:31:40+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-05-08T00:00:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51d247c2cfbd3aea896c650e5cf25eb0a8e14615'/>
<id>urn:sha1:51d247c2cfbd3aea896c650e5cf25eb0a8e14615</id>
<content type='text'>
This change was requested in the btree_extract_if tracking issue:

https://github.com/rust-lang/rust/issues/70530#issuecomment-2486566328
</content>
</entry>
<entry>
<title>Docs(lib/coll/btm): Split `extract_if`'s first sentence from the following ones</title>
<updated>2025-05-17T00:29:37+00:00</updated>
<author>
<name>Paul Mabileau</name>
<email>paul.mabileau@harfanglab.fr</email>
</author>
<published>2025-05-17T00:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35f847363729b16332eab1a85900617218495757'/>
<id>urn:sha1:35f847363729b16332eab1a85900617218495757</id>
<content type='text'>
This also seems like a small mistake: the first main sentence is put in
the same paragraph as the other two following ones while other
equivalents all have it split. Therefore, do the same here.

Signed-off-by: Paul Mabileau &lt;paul.mabileau@harfanglab.fr&gt;
</content>
</entry>
<entry>
<title>Consistent trait bounds for ExtractIf Debug impls</title>
<updated>2025-05-06T02:46:46+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2025-03-15T18:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c35914383a92d7504f3a71c390dc2ebd14bce695'/>
<id>urn:sha1:c35914383a92d7504f3a71c390dc2ebd14bce695</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some unnecessary clones.</title>
<updated>2025-04-24T01:12:34+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-23T22:49:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=055a27da2afcc8a7d74a551c32e8a831a825d549'/>
<id>urn:sha1:055a27da2afcc8a7d74a551c32e8a831a825d549</id>
<content type='text'>
I found these by grepping for `&amp;[a-z_\.]*\.clone()`, i.e. expressions
like `&amp;a.b.clone()`, which are sometimes unnecessary clones, and also
looking at clones nearby to cases like that.
</content>
</entry>
</feed>
