We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3c322bc + 0084862 commit 153eeb0Copy full SHA for 153eeb0
library/std/src/io/mod.rs
@@ -2319,9 +2319,9 @@ pub trait BufRead: Read {
2319
/// Checks if there is any data left to be `read`.
2320
///
2321
/// This function may fill the buffer to check for data,
2322
- /// so this functions returns `Result<bool>`, not `bool`.
+ /// so this function returns `Result<bool>`, not `bool`.
2323
2324
- /// Default implementation calls `fill_buf` and checks that
+ /// The default implementation calls `fill_buf` and checks that the
2325
/// returned slice is empty (which means that there is no data left,
2326
/// since EOF is reached).
2327
0 commit comments