<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/ffi/os_str.rs, branch 1.34.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.2'/>
<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>tests: doc comments</title>
<updated>2019-02-10T23:42:32+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-02-09T21:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b87363e7632b3f20f9b529696ffb5d5d9c3927cd'/>
<id>urn:sha1:b87363e7632b3f20f9b529696ffb5d5d9c3927cd</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>use actual invalid string in OsStr::to_string_lossy example</title>
<updated>2018-12-12T18:13:40+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2018-11-10T06:17:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0008e0d502fab4aee5909d23ac277701727903e8'/>
<id>urn:sha1:0008e0d502fab4aee5909d23ac277701727903e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various minor/cosmetic improvements to code</title>
<updated>2018-12-07T23:53:34+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2018-11-27T02:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee89c088b057affb5bdb96195e107a218b64b1c5'/>
<id>urn:sha1:ee89c088b057affb5bdb96195e107a218b64b1c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril</title>
<updated>2018-12-03T10:07:16+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-12-03T10:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52a4fc81300bef1d6c4a133a01aacfa91f736908'/>
<id>urn:sha1:52a4fc81300bef1d6c4a133a01aacfa91f736908</id>
<content type='text'>
Update issue number of `shrink_to` methods to point the tracking issue

Tracking issue: #56431
</content>
</entry>
<entry>
<title>Update issue number of `shrink_to` methods to point the tracking issue</title>
<updated>2018-12-02T07:08:08+00:00</updated>
<author>
<name>Hidehito Yabuuchi</name>
<email>hdht.ybuc@gmail.com</email>
</author>
<published>2018-12-02T07:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e18cc916f653d5bea212bddded8960f548a975d'/>
<id>urn:sha1:1e18cc916f653d5bea212bddded8960f548a975d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>OsStr: clarify `len()` method documentation</title>
<updated>2018-11-21T18:30:46+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2018-11-10T07:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a1e9c7fc2e4806fe72c84178bf1116f645d18c43'/>
<id>urn:sha1:a1e9c7fc2e4806fe72c84178bf1116f645d18c43</id>
<content type='text'>
</content>
</entry>
</feed>
