We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17c48e commit f1b88abCopy full SHA for f1b88ab
src/libstd/io/mod.rs
@@ -1458,7 +1458,7 @@ pub trait BufRead: Read {
1458
///
1459
/// If successful, this function will return the total number of bytes read.
1460
1461
- /// An empty buffer returned indicates that the stream has reached EOF.
+ /// If this function returns `Ok(0)`, the stream has reached EOF.
1462
1463
/// # Errors
1464
0 commit comments