File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1410,6 +1410,8 @@ pub trait BufRead: Read {
1410
1410
///
1411
1411
/// If successful, this function will return the total number of bytes read.
1412
1412
///
1413
+ /// An empty buffer returned indicates that the stream has reached EOF.
1414
+ ///
1413
1415
/// # Errors
1414
1416
///
1415
1417
/// This function will ignore all instances of [`ErrorKind::Interrupted`] and
@@ -1470,6 +1472,8 @@ pub trait BufRead: Read {
1470
1472
///
1471
1473
/// If successful, this function will return the total number of bytes read.
1472
1474
///
1475
+ /// An empty buffer returned indicates that the stream has reached EOF.
1476
+ ///
1473
1477
/// # Errors
1474
1478
///
1475
1479
/// This function has the same error semantics as [`read_until`] and will
You can’t perform that action at this time.
0 commit comments