<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/io/mod.rs, branch 1.43.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.43.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.43.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-03-10T05:47:47+00:00</updated>
<entry>
<title>Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnison</title>
<updated>2020-03-10T05:47:47+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-10T05:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61150353bf9cc415f4554a9b4851c14e4255329f'/>
<id>urn:sha1:61150353bf9cc415f4554a9b4851c14e4255329f</id>
<content type='text'>
Remove spotlight

I had a few comments saying that this feature was at best misunderstood or not even used so I decided to organize a poll about on [twitter](https://twitter.com/imperioworld_/status/1232769353503956994). After 87 votes, the result is very clear: it's not useful. Considering the amount of code we have just to run it, I think it's definitely worth it to remove it.

r? @kinnison

cc @ollie27
</content>
</entry>
<entry>
<title>Don't redundantly repeat field names (clippy::redundant_field_names)</title>
<updated>2020-03-06T18:42:18+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2020-03-06T18:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83980aca2086e5c4dca5aae9a92a065a9ff4ac56'/>
<id>urn:sha1:83980aca2086e5c4dca5aae9a92a065a9ff4ac56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use char instead of &amp;str for single char patterns</title>
<updated>2020-02-27T13:57:22+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2020-02-26T12:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c84ba112429eb9bc0b99a6fe32a453c920a764c'/>
<id>urn:sha1:7c84ba112429eb9bc0b99a6fe32a453c920a764c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove spotlight usage</title>
<updated>2020-02-27T13:51:22+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2020-02-27T13:38:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13c6d5819aae3c0de6a90e7f17ea967bf4487cbb'/>
<id>urn:sha1:13c6d5819aae3c0de6a90e7f17ea967bf4487cbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document that write_all will not call write if given an empty buffer</title>
<updated>2020-01-29T01:22:38+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2020-01-29T01:22:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9bb2a50e04460fff646830502d575b82dbf17055'/>
<id>urn:sha1:9bb2a50e04460fff646830502d575b82dbf17055</id>
<content type='text'>
Some types of Write instances have a semantic meaning associated with
writing an empty buffer, such as sending an empty packet. This works
when calling `write` directly, and supplying an empty buffer. However,
calling `write_all` on an empty buffer will simply never call `write`,
because `write_all` assumes it has no work to do.

Document this behavior, to help prospective users of
datagram-packet-style Write instances.
</content>
</entry>
<entry>
<title>Format the world</title>
<updated>2019-12-22T22:42:47+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-12-22T22:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a06baa56b95674fc626b3c3fd680d6a65357fe60'/>
<id>urn:sha1:a06baa56b95674fc626b3c3fd680d6a65357fe60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require issue = "none" over issue = "0" in unstable attributes</title>
<updated>2019-12-21T11:16:18+00:00</updated>
<author>
<name>Ross MacArthur</name>
<email>ross@macarthur.io</email>
</author>
<published>2019-12-21T11:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3'/>
<id>urn:sha1:f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify {IoSlice, IoSliceMut}::advance examples and tests</title>
<updated>2019-12-05T00:00:00+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2019-12-05T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92bc35f7b6cb4232be5ac4cc031202c7ad82260b'/>
<id>urn:sha1:92bc35f7b6cb4232be5ac4cc031202c7ad82260b</id>
<content type='text'>
Remove unnecessary calls to `std::mem::replace` and make variables immutable.
</content>
</entry>
<entry>
<title>Format libstd with rustfmt</title>
<updated>2019-11-30T02:43:27+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2019-11-27T18:29:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4436c9d35498e7ae3da261f6141d6d73b915e1e8'/>
<id>urn:sha1:4436c9d35498e7ae3da261f6141d6d73b915e1e8</id>
<content type='text'>
This commit applies rustfmt with rust-lang/rust's default settings to
files in src/libstd *that are not involved in any currently open PR* to
minimize merge conflicts. THe list of files involved in open PRs was
determined by querying GitHub's GraphQL API with this script:
https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8

With the list of files from the script in outstanding_files, the
relevant commands were:

    $ find src/libstd -name '*.rs' \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ rg libstd outstanding_files | xargs git checkout --

Repeating this process several months apart should get us coverage of
most of the rest of libstd.

To confirm no funny business:

    $ git checkout $THIS_COMMIT^
    $ git show --pretty= --name-only $THIS_COMMIT \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ git diff $THIS_COMMIT  # there should be no difference
</content>
</entry>
<entry>
<title>Fix inconsistent link formatting</title>
<updated>2019-09-16T12:02:36+00:00</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2019-09-16T12:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62e86b42b5ed342d30c539e22810c26d312995e2'/>
<id>urn:sha1:62e86b42b5ed342d30c539e22810c26d312995e2</id>
<content type='text'>
</content>
</entry>
</feed>
