<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/io/buffered.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-26T02:48:13+00:00</updated>
<entry>
<title>Auto merge of #58357 - sfackler:vectored-io, r=alexcrichton</title>
<updated>2019-02-26T02:48:13+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-02-26T02:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb162e69449b423c5aed0d9c39f6c046fa300c30'/>
<id>urn:sha1:fb162e69449b423c5aed0d9c39f6c046fa300c30</id>
<content type='text'>
Add vectored read and write support

This functionality has lived for a while in the tokio ecosystem, where
it can improve performance by minimizing copies.

r? @alexcrichton
</content>
</entry>
<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>impl Deref/DerefMut for IoVec types</title>
<updated>2019-02-14T03:40:17+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2019-02-12T03:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=596f18201c7863d8b02fe6fa1872cf3ba2b6b381'/>
<id>urn:sha1:596f18201c7863d8b02fe6fa1872cf3ba2b6b381</id>
<content type='text'>
Returning &amp;'a mut [u8] was unsound, and we may as well just have them
directly deref to their slices to make it easier to work with them.
</content>
</entry>
<entry>
<title>Add vectored read and write support</title>
<updated>2019-02-14T03:40:17+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2019-02-08T19:42:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31bcec648aa57391115f877a2ca022d7ff6415aa'/>
<id>urn:sha1:31bcec648aa57391115f877a2ca022d7ff6415aa</id>
<content type='text'>
This functionality has lived for a while in the tokio ecosystem, where
it can improve performance by minimizing copies.
</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>deny intra-doc link resolution failures in libstd</title>
<updated>2018-12-18T02:10:24+00:00</updated>
<author>
<name>Andy Russell</name>
<email>arussell123@gmail.com</email>
</author>
<published>2018-12-18T02:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82e55c1bdcf0a20a2652152447160414a9cd57d7'/>
<id>urn:sha1:82e55c1bdcf0a20a2652152447160414a9cd57d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace usages of `..i + 1` ranges with `..=i`.</title>
<updated>2018-12-04T20:05:19+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2018-12-04T19:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c025d6140999e07ddf0294f0676c64ff2322a210'/>
<id>urn:sha1:c025d6140999e07ddf0294f0676c64ff2322a210</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix compile errors in test</title>
<updated>2018-11-02T17:39:56+00:00</updated>
<author>
<name>Jonathan Behrens</name>
<email>fintelia@gmail.com</email>
</author>
<published>2018-11-01T20:06:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59a030916b8f1173c99f874365533574fa6314a9'/>
<id>urn:sha1:59a030916b8f1173c99f874365533574fa6314a9</id>
<content type='text'>
</content>
</entry>
</feed>
