Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions library/alloc/src/io/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,14 @@ pub trait Read {
/// which can be very inefficient for data that's not in memory,
/// such as `File`. Consider using a `BufReader` in such cases.
///
/// # Errors
///
/// When the returned iterator calls [`Iterator::next`],
/// if it encounters an error of the kind [`ErrorKind::Interrupted`]
/// then the error is ignored and it will try to read the byte again.
///
/// [`ErrorKind::Interrupted`]: crate::io::ErrorKind::Interrupted
///
/// # Examples
///
/// `File`s implement `Read`:
Expand Down
Loading