rust/library/std/src/io
Matthias Krüger 6e9db86787
Rollup merge of #125404 - a1phyr:fix-read_buf-uses, r=workingjubilee
Fix `read_buf` uses in `std`

Following lib-team decision here: https://github.com/rust-lang/rust/issues/78485#issuecomment-2122992314

Guard against the pathological behavior of both returning an error and performing a read.
2024-09-28 09:35:08 +02:00
..
buffered Rollup merge of #125404 - a1phyr:fix-read_buf-uses, r=workingjubilee 2024-09-28 09:35:08 +02:00
copy Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error add InProgress ErrorKind gated behind io_error_inprogress feature 2024-09-24 20:49:56 +03:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
stdio Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
util Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
copy.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cursor.rs Rollup merge of #109174 - soerenmeier:cursor_fns, r=dtolnay 2024-07-29 07:11:13 +02:00
error.rs Add tracking issue for io_error_inprogress 2024-09-25 17:40:55 +02:00
impls.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs Add a comment to Read::read_buf 2024-09-23 22:51:27 +02:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
stdio.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Add tests 2024-09-23 22:51:27 +02:00
util.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00