mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 03:57:38 +00:00
![]() 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). |
||
---|---|---|
.. | ||
buffered | ||
cursor | ||
error | ||
impls | ||
readbuf | ||
stdio | ||
util | ||
copy.rs | ||
cursor.rs | ||
error.rs | ||
impls.rs | ||
mod.rs | ||
prelude.rs | ||
readbuf.rs | ||
stdio.rs | ||
tests.rs | ||
util.rs |