<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/collections/hash/table.rs, branch 1.34.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-02-20T03:59:10+00:00</updated>
<entry>
<title>Rollup merge of #58553 - scottmcm:more-ihle, r=Centril</title>
<updated>2019-02-20T03:59:10+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2019-02-19T17:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e3a8f7db479ce6562bfc312f412b65dc4f3c77d5'/>
<id>urn:sha1:e3a8f7db479ce6562bfc312f412b65dc4f3c77d5</id>
<content type='text'>
Use more impl header lifetime elision

Inspired by seeing explicit lifetimes on these two:

- https://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#impl-FusedIterator
- https://doc.rust-lang.org/nightly/std/primitive.u32.html#impl-Not

And a follow-up to https://github.com/rust-lang/rust/pull/54687, that started using IHLE in libcore.

Most of the changes in here fall into two big categories:

- Removing lifetimes from common traits that can essentially never user a lifetime from an input (particularly `Drop`, `Debug`, and `Clone`)

- Forwarding impls that are only possible because the lifetime doesn't matter (like `impl&lt;R: Read + ?Sized&gt; Read for &amp;mut R`)

I omitted things that seemed like they could be more controversial, like the handful of iterators that have a `Item: 'static` despite the iterator having a lifetime or the `PartialEq` implementations [where the flipped one cannot elide the lifetime](https://internals.rust-lang.org/t/impl-type-parameter-aliases/9403/2?u=scottmcm).

I also removed two lifetimes that turned out to be completely unused; see https://github.com/rust-lang/rust/issues/41960#issuecomment-464557423
</content>
</entry>
<entry>
<title>Use more impl header lifetime elision</title>
<updated>2019-02-18T03:42:36+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2019-02-18T03:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bea2ca49d24606920b3a81811379debc0668992'/>
<id>urn:sha1:3bea2ca49d24606920b3a81811379debc0668992</id>
<content type='text'>
There are two big categories of changes in here

- Removing lifetimes from common traits that can essentially never user a lifetime from an input (particularly `Drop` &amp; `Debug`)
- Forwarding impls that are only possible because the lifetime doesn't matter (like `impl&lt;R: Read + ?Sized&gt; Read for &amp;mut R`)

I omitted things that seemed like they could be more controversial, like the handful of iterators that have a `Item: 'static` despite the iterator having a lifetime or the `PartialEq` implementations where the flipped one cannot elide the lifetime.
</content>
</entry>
<entry>
<title>libs: doc comments</title>
<updated>2019-02-10T23:57:25+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-02-09T22:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99ed06eb8864e704c4a1871ccda4648273bee4ef'/>
<id>urn:sha1:99ed06eb8864e704c4a1871ccda4648273bee4ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline tweaks</title>
<updated>2018-12-21T11:09:43+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2018-12-05T17:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f30a24e42137149373311f20525ac52cff44d94'/>
<id>urn:sha1:4f30a24e42137149373311f20525ac52cff44d94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline things</title>
<updated>2018-11-30T07:14:22+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2018-11-29T13:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=946ea1453d5a611084566c190cea60d9ccd41697'/>
<id>urn:sha1:946ea1453d5a611084566c190cea60d9ccd41697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix some uses of pointer intrinsics with invalid pointers</title>
<updated>2018-08-29T21:08:47+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-29T21:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61f0a2b3fd961c9ae6d327d384bcffabf89a1c26'/>
<id>urn:sha1:61f0a2b3fd961c9ae6d327d384bcffabf89a1c26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace usages of ptr::offset with ptr::{add,sub}.</title>
<updated>2018-08-20T11:28:34+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2018-08-20T02:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=993fb934640b7e514f3c629c33a2698a83ed8c3e'/>
<id>urn:sha1:993fb934640b7e514f3c629c33a2698a83ed8c3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move core::alloc::CollectionAllocErr to alloc::collections</title>
<updated>2018-06-29T12:01:33+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-06-15T01:56:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0547cea0ae50f49619ded26f43d0d55a1674b14'/>
<id>urn:sha1:b0547cea0ae50f49619ded26f43d0d55a1674b14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename OOM to allocation error</title>
<updated>2018-06-18T19:41:24+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-06-13T22:32:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2b789bd0570983e82533f9ed30c80312ac334694'/>
<id>urn:sha1:2b789bd0570983e82533f9ed30c80312ac334694</id>
<content type='text'>
The acronym is not descriptive unless one has seen it before.

* Rename the `oom` function to `handle_alloc_error`. It was **stabilized in 1.28**, so if we do this at all we need to land it this cycle.
* Rename `set_oom_hook` to `set_alloc_error_hook`
* Rename `take_oom_hook` to `take_alloc_error_hook`

Bikeshed: `alloc` v.s. `allocator`, `error` v.s. `failure`
</content>
</entry>
</feed>
