Skip to content

Commit 0b9479a

Browse files
authored
Unrolled build for rust-lang#140325
Rollup merge of rust-lang#140325 - ethanwu10:ethanwu10/grammar-fixes-for-bufread-has-data-left-docs, r=jhpratt Grammar fixes for BufRead::has_data_left docs Fix some grammar in the documentation for `BufRead::has_data_left`
2 parents 5ae50d3 + 0084862 commit 0b9479a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2319,9 +2319,9 @@ pub trait BufRead: Read {
23192319
/// Checks if there is any data left to be `read`.
23202320
///
23212321
/// This function may fill the buffer to check for data,
2322-
/// so this functions returns `Result<bool>`, not `bool`.
2322+
/// so this function returns `Result<bool>`, not `bool`.
23232323
///
2324-
/// Default implementation calls `fill_buf` and checks that
2324+
/// The default implementation calls `fill_buf` and checks that the
23252325
/// returned slice is empty (which means that there is no data left,
23262326
/// since EOF is reached).
23272327
///

0 commit comments

Comments
 (0)