<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc/collections, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #74060 - kpp:remove_length_at_most_32, r=dtolnay</title>
<updated>2020-07-26T05:50:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-26T05:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=461707c5a119cc33c5d7df585ddb6cbec4a081bf'/>
<id>urn:sha1:461707c5a119cc33c5d7df585ddb6cbec4a081bf</id>
<content type='text'>
Remove trait LengthAtMost32

This is a continuation of https://github.com/rust-lang/rust/pull/74026 preserving the original burrbull's commit.

I talked to @burrbull, he suggested me to finish his PR.
</content>
</entry>
<entry>
<title>Rollup merge of #74677 - ssomers:btree_cleanup_2, r=Amanieu</title>
<updated>2020-07-24T09:56:38+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2020-07-24T09:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fab9b1d4cd5a788f46d94077b49da285ce782b74'/>
<id>urn:sha1:fab9b1d4cd5a788f46d94077b49da285ce782b74</id>
<content type='text'>
Remove needless unsafety from BTreeMap::drain_filter

Remove one piece of unsafe code in the iteration over the iterator returned by BTreeMap::drain_filter.
- Changes an explicitly unspecified part of the API: when the user-supplied predicate (or some of BTreeMap's code) panicked, and the caller tries to use the iterator again, we no longer offer the same key/value pair to the predicate again but pretend the iterator has finished. Note that Miri does not find UB in the test case added here with the unsafe code (or without).
- Makes the code a little easier on the eyes.
- Makes the code a little harder on the CPU:
```
benchcmp c0 c2 --threshold 3
 name                                         c0 ns/iter  c2 ns/iter  diff ns/iter  diff %  speedup
 btree::set::clone_100_and_drain_all          2,794       2,900                106   3.79%   x 0.96
 btree::set::clone_100_and_drain_half         2,604       2,964                360  13.82%   x 0.88
 btree::set::clone_10k_and_drain_half         287,770     322,755           34,985  12.16%   x 0.89
```
r? @Amanieu
</content>
</entry>
<entry>
<title>BTreeMap::drain_filter: replace needless unsafety and test</title>
<updated>2020-07-23T16:29:07+00:00</updated>
<author>
<name>Stein Somers</name>
<email>git@steinsomers.be</email>
</author>
<published>2020-07-22T20:37:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=facc46fd0a85408bc05aa19b80131e3cfb5fe3dd'/>
<id>urn:sha1:facc46fd0a85408bc05aa19b80131e3cfb5fe3dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #74010 - pierwill:pierwill-o-notation, r=GuillaumeGomez</title>
<updated>2020-07-20T10:19:58+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-20T10:19:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71384101ea3b030b80f7def80a37f67e148518b0'/>
<id>urn:sha1:71384101ea3b030b80f7def80a37f67e148518b0</id>
<content type='text'>
Use italics for O notation

In documentation, I think it makes sense to italicize O notation (*O(n)*) as opposed to using back-ticks (`O(n)`). Visually, back-ticks focus the reader on the literal characters being used, making them ideal for representing code. Using italics, as far I can tell, more closely follows typographic conventions in mathematics and computer science.

Just a suggestion, of course! 😇
</content>
</entry>
<entry>
<title>Use italics for O notation</title>
<updated>2020-07-20T04:43:39+00:00</updated>
<author>
<name>pierwill</name>
<email>pierwill@users.noreply.github.com</email>
</author>
<published>2020-07-03T19:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76b8420168a2e14abf025a07ee4e32d87956d940'/>
<id>urn:sha1:76b8420168a2e14abf025a07ee4e32d87956d940</id>
<content type='text'>
Co-authored-by: Guillaume Gomez &lt;guillaume1.gomez@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use intra-doc links in BTreeMap</title>
<updated>2020-07-18T18:41:41+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-18T18:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c48ac3e88e438f6b478adca61629a611db6b3dc'/>
<id>urn:sha1:4c48ac3e88e438f6b478adca61629a611db6b3dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use more intra-doc links in BTreeSet</title>
<updated>2020-07-18T18:21:22+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-18T18:21:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3168b7d6c0bb129637e0b6797a5f4a5cf72a807f'/>
<id>urn:sha1:3168b7d6c0bb129637e0b6797a5f4a5cf72a807f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use intra-doc links in BTreeSet docs</title>
<updated>2020-07-17T21:00:01+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-17T19:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91314e2d279374bb9eec79754b3480d359d7a412'/>
<id>urn:sha1:91314e2d279374bb9eec79754b3480d359d7a412</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Separate off BTreeMap support functions and loose their irrelevant bounds</title>
<updated>2020-07-16T10:53:01+00:00</updated>
<author>
<name>Stein Somers</name>
<email>git@steinsomers.be</email>
</author>
<published>2020-07-14T11:23:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b82d332c52dde1680b21c0281f08cc5f30edc082'/>
<id>urn:sha1:b82d332c52dde1680b21c0281f08cc5f30edc082</id>
<content type='text'>
</content>
</entry>
</feed>
