rust/library/std/src/io
Matthias Krüger 0c73b2db41
Rollup merge of #122276 - RalfJung:io-read, r=Nilstrieb
io::Read trait: make it more clear when we are adressing implementations vs callers

Inspired by [this](https://github.com/rust-lang/rust/issues/72186#issuecomment-1987076295) comment.

For some reason we only have that `buf` warning in `read` and `read_exact`, even though it affects a bunch of other functions of this trait as well. It doesn't seem worth copy-pasting the same text everywhere though so I did not change this.
2024-03-10 22:16:42 +01:00
..
buffered Rollup merge of #121403 - kornelski:io-oom, r=dtolnay 2024-03-09 21:40:07 +01:00
copy unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error Use generic NonZero everywhere in std. 2024-02-22 15:17:33 +01:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
stdio Make default stdio lock() return 'static handles 2022-02-13 10:23:16 -05:00
util Rollup merge of #98154 - vidhanio:master, r=workingjubilee 2023-07-30 20:36:33 +02:00
copy.rs unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor.rs Rollup merge of #98651 - mattfbacon:master, r=ChrisDenton 2023-03-27 08:46:51 +02:00
error.rs TryReserveError to ErrorKind::OutOfMemory 2024-02-21 16:31:53 +00:00
impls.rs Remove unnecessary map_err 2024-02-21 16:31:53 +00:00
mod.rs io::Read trait: make it more clear when we are adressing implementations vs callers 2024-03-10 09:39:45 +01:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
stdio.rs Rollup merge of #99153 - Dajamante:issue/95622, r=dtolnay 2024-03-09 21:40:05 +01:00
tests.rs disable OOM test in Miri 2024-03-10 09:24:25 +01:00
util.rs Make io::BorrowedCursor::advance safe 2024-02-07 16:46:28 +01:00