rust/library/std/src/io
Matthias Krüger 2daecf7c45
Rollup merge of #111940 - zirconium-n:io-read-doc-change, r=thomcc
Clarify safety concern of `io::Read::read` is only relevant in unsafe code

We have this clarification note in other similar place like [Iterator::size_hint](https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html#method.size_hint).

The lack of clarification might lead to confusion to Rust beginners. [Relevant URLO post](https://users.rust-lang.org/t/can-read-overflow-a-buffer/94347).
2023-05-26 08:24:08 +02:00
..
buffered rewrite: line_long_tail_not_flushed description 2023-04-26 02:11:13 -04:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error std: add type alias for raw OS errors 2023-01-31 17:23:35 +01:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
readbuf Spelling library/ 2023-04-26 02:10:22 -04:00
stdio Make default stdio lock() return 'static handles 2022-02-13 10:23:16 -05:00
util non-linux platforms 2022-08-05 17:18:51 +01:00
copy.rs wanting => want 2023-05-15 10:13:08 +03:00
cursor.rs Rollup merge of #98651 - mattfbacon:master, r=ChrisDenton 2023-03-27 08:46:51 +02:00
error.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
impls.rs Rollup merge of #110633 - scottmcm:more-take, r=thomcc 2023-04-21 20:35:29 +05:30
mod.rs Clarify safety concern of io::Read::read is only relevant in unsafe code 2023-05-25 18:38:38 +08:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
readbuf.rs use memset to initialize a readbuf 2022-10-08 14:40:19 +02:00
stdio.rs replace version placeholders 2023-04-28 08:47:55 -07:00
tests.rs Limit read size in File::read_to_end loop 2023-04-21 20:54:12 +01:00
util.rs Address reviewer comments 2022-08-18 10:34:40 +01:00