<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/io, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-09T16:11:26+00:00</updated>
<entry>
<title>core: Remove `BorrowedCursor::init_ref` method</title>
<updated>2025-07-09T16:11:26+00:00</updated>
<author>
<name>Benoît du Garreau</name>
<email>benoit@dugarreau.fr</email>
</author>
<published>2025-07-09T16:11:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=803b4d262241b22a4dfe75fcec49eaf920e0816b'/>
<id>urn:sha1:803b4d262241b22a4dfe75fcec49eaf920e0816b</id>
<content type='text'>
This method was not really useful: at no point one would only need to
read the initialized part of the cursor without mutating it.
</content>
</entry>
<entry>
<title>Update version placeholders</title>
<updated>2025-07-01T17:54:33+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2025-06-23T17:24:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ce8930da62a9be15831b78b9834d91702872e15'/>
<id>urn:sha1:9ce8930da62a9be15831b78b9834d91702872e15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make `tidy-alphabetical` use a natural sort</title>
<updated>2025-06-25T20:52:38+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-05-20T18:23:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1dfc8406dcb742453b36daf0ce7486183b1da79c'/>
<id>urn:sha1:1dfc8406dcb742453b36daf0ce7486183b1da79c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add diagnostic items for Clippy</title>
<updated>2025-06-20T15:53:09+00:00</updated>
<author>
<name>Samuel Tardieu</name>
<email>sam@rfc1149.net</email>
</author>
<published>2025-06-20T10:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a9f223f0030729560fd60fbd112e3e6e81ae2a9'/>
<id>urn:sha1:6a9f223f0030729560fd60fbd112e3e6e81ae2a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #142102 - kiseitai3:141714_stdin_read_to_string_docs, r=tgross35</title>
<updated>2025-06-10T14:54:49+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-06-10T14:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=590f630ec6affc51dee868ad968743fe4b7251fc'/>
<id>urn:sha1:590f630ec6affc51dee868ad968743fe4b7251fc</id>
<content type='text'>
docs: Small clarification on the usage of read_to_string and read_to_end trait methods

Small clarification on the usage of read_to_string and read_to_end trait methods. The goal is to make it clear that these trait methods will become locked up if attempting to read to the end of stdin (which is a bit non-sensical unless the other end closes the pipe).

Fixes: rust-lang/rust#141714
</content>
</entry>
<entry>
<title>docs: Small clarification on the usage of read_to_string and read_to_end trait methods</title>
<updated>2025-06-10T05:08:39+00:00</updated>
<author>
<name>kiseitai3</name>
<email>kiseitai3@gmail.com</email>
</author>
<published>2025-06-07T01:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d7fedbab4bd4ff030ac98640f2f18f94041d433'/>
<id>urn:sha1:7d7fedbab4bd4ff030ac98640f2f18f94041d433</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify description of `Seek::stream_len`</title>
<updated>2025-06-05T14:27:28+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2025-01-09T09:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b1e28b21f78491d4ae187a52ebd5436edef6281'/>
<id>urn:sha1:4b1e28b21f78491d4ae187a52ebd5436edef6281</id>
<content type='text'>
It can only describe the inner workings of the default implementation,
other implementations might not be implemented using seeks at all.
</content>
</entry>
<entry>
<title>Optimize `Seek::stream_len` impl for `File`</title>
<updated>2025-06-05T14:27:27+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2024-05-13T18:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fde8a8d518e3bd9124bfe4028e3c45f7dcf34593'/>
<id>urn:sha1:fde8a8d518e3bd9124bfe4028e3c45f7dcf34593</id>
<content type='text'>
It uses the file metadata on Unix with a fallback for files incorrectly
reported as zero-sized. It uses `GetFileSizeEx` on Windows.

This reduces the number of syscalls needed for determining the file size
of an open file from 3 to 1.
</content>
</entry>
<entry>
<title>Rollup merge of #141109 - oconnor663:pipe_example, r=Mark-Simulacrum</title>
<updated>2025-05-23T11:34:19+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-05-23T11:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfa3110ed4c40e0744a71cb3964c4161f3457ae2'/>
<id>urn:sha1:dfa3110ed4c40e0744a71cb3964c4161f3457ae2</id>
<content type='text'>
discuss deadlocks in the std::io::pipe() example

I think it's important to discuss deadlocks in examples of how to use pipes. The current example does include an explicit `drop()`, but it also implicitly relies on the fact that the `Command` object is temporary, so that it drops its copy of `pong_tx`. This sort of thing tends to trip people up when they use pipes for the first time. I might've gone overboard with the comments in this version, but I'm curious what folks think.
</content>
</entry>
<entry>
<title>Add `std::io::Seek` instance for `std::io::Take`</title>
<updated>2025-05-19T15:56:46+00:00</updated>
<author>
<name>Mario Pastorelli</name>
<email>pastorelli.mario@gmail.com</email>
</author>
<published>2025-03-04T23:03:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8f5ff867d2fee553c4c0c6401aae170be3ece19'/>
<id>urn:sha1:c8f5ff867d2fee553c4c0c6401aae170be3ece19</id>
<content type='text'>
</content>
</entry>
</feed>
