<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/collections/hash/table.rs, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-04-29T17:15:40+00:00</updated>
<entry>
<title>Fix some broken links in docs.</title>
<updated>2018-04-29T17:15:40+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2018-04-29T17:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=269d2790946858dd1b504c21c54a267ac63dc15a'/>
<id>urn:sha1:269d2790946858dd1b504c21c54a267ac63dc15a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace GlobalAlloc::oom with a lang item</title>
<updated>2018-04-22T17:08:17+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2018-04-21T04:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e513c1bd314bbeb6295a7a759de8833b52ff854d'/>
<id>urn:sha1:e513c1bd314bbeb6295a7a759de8833b52ff854d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #48945 - clarcharr:iter_exhaust, r=Kimundi</title>
<updated>2018-04-16T13:21:56+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-04-16T13:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ef1563518d48ad9231b3ec3ac463d34d819ed28'/>
<id>urn:sha1:1ef1563518d48ad9231b3ec3ac463d34d819ed28</id>
<content type='text'>
Replace manual iterator exhaust with for_each(drop)

This originally added a dedicated method, `Iterator::exhaust`, and has since been replaced with `for_each(drop)`, which is more idiomatic.

&lt;del&gt;This is just shorthand for `for _ in &amp;mut self {}` or `while let Some(_) = self.next() {}`. This states the intent a lot more clearly than the identical code: run the iterator to completion.

&lt;del&gt;At least personally, my eyes tend to gloss over `for _ in &amp;mut self {}` without fully paying attention to what it does; having a `Drop` implementation akin to:

&lt;del&gt;`for _ in &amp;mut self {}; unsafe { free(self.ptr); }`&lt;/del&gt;

&lt;del&gt;Is not as clear as:

&lt;del&gt;`self.exhaust(); unsafe { free(self.ptr); }`

&lt;del&gt;Additionally, I've seen debate over whether `while let Some(_) = self.next() {}` or `for _ in &amp;mut self {}` is more clear, whereas `self.exhaust()` is clearer than both.
</content>
</entry>
<entry>
<title>Rename alloc::Void to alloc::Opaque</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-11T15:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f607a3872addf380846cae28661a777ec3e3c9a2'/>
<id>urn:sha1:f607a3872addf380846cae28661a777ec3e3c9a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use NonNull&lt;Void&gt; instead of *mut u8 in the Alloc trait</title>
<updated>2018-04-12T20:53:22+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-02T23:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fddf51ee0b9765484fc316dbf3d4feb8ceea715d'/>
<id>urn:sha1:fddf51ee0b9765484fc316dbf3d4feb8ceea715d</id>
<content type='text'>
Fixes #49608
</content>
</entry>
<entry>
<title>Return Result instead of Option in alloc::Layout constructors</title>
<updated>2018-04-12T20:53:13+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-04T14:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b017742136a5d02b6ba0f2080e97d18a8bfeba4b'/>
<id>urn:sha1:b017742136a5d02b6ba0f2080e97d18a8bfeba4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the now-unit-struct AllocErr field inside CollectionAllocErr</title>
<updated>2018-04-12T20:53:13+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-03T14:01:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93a9ad4897e560ccd5ebc3397afb7d83d990ef42'/>
<id>urn:sha1:93a9ad4897e560ccd5ebc3397afb7d83d990ef42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the now-unit-struct AllocErr parameter of oom()</title>
<updated>2018-04-12T20:53:13+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-03T14:00:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=157ff8cd0562eefdd7aa296395c38a7bc259a4b9'/>
<id>urn:sha1:157ff8cd0562eefdd7aa296395c38a7bc259a4b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Actually deprecate the Heap type</title>
<updated>2018-04-12T20:52:47+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-03T19:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e521b8b472dfe058f6d0f62f2e1ab5f291c220ee'/>
<id>urn:sha1:e521b8b472dfe058f6d0f62f2e1ab5f291c220ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Import the `alloc` crate as `alloc_crate` in std</title>
<updated>2018-04-12T20:52:47+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-03T12:36:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b895d8b88413f72230fbc0f00c67328870a2e9a'/>
<id>urn:sha1:1b895d8b88413f72230fbc0f00c67328870a2e9a</id>
<content type='text'>
… to make the name `alloc` available.
</content>
</entry>
</feed>
