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.
2 parents e9b5c86 + 66268e8 commit 57b4658Copy full SHA for 57b4658
src/libstd/io/mod.rs
@@ -1410,6 +1410,8 @@ pub trait BufRead: Read {
1410
///
1411
/// If successful, this function will return the total number of bytes read.
1412
1413
+ /// An empty buffer returned indicates that the stream has reached EOF.
1414
+ ///
1415
/// # Errors
1416
1417
/// This function will ignore all instances of [`ErrorKind::Interrupted`] and
@@ -1470,6 +1472,8 @@ pub trait BufRead: Read {
1470
1472
1471
1473
1474
1475
1476
1477
1478
1479
/// This function has the same error semantics as [`read_until`] and will
0 commit comments