diff options
| author | bors <bors@rust-lang.org> | 2025-04-26 15:59:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-26 15:59:32 +0000 |
| commit | 10fa3c449f6b1613b352a6cbf78d3d91fd9a1d81 (patch) | |
| tree | 8a7822df3f57929510160713ec757a27d42fad04 /library/std/src | |
| parent | 5ae50d3b2182f81eea4e4d90e8da3653547215b5 (diff) | |
| parent | 153eeb0e24471a4733878c611cf60e8ba827d6cd (diff) | |
| download | rust-10fa3c449f6b1613b352a6cbf78d3d91fd9a1d81.tar.gz rust-10fa3c449f6b1613b352a6cbf78d3d91fd9a1d81.zip | |
Auto merge of #140336 - matthiaskrgr:rollup-kxo6ljw, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #140215 (transmutability: Support char, NonZeroXxx) - #140226 (Update wasm-component-ld to 0.5.13) - #140317 (Remove redundant check) - #140318 (Simply try to unpeel AsyncFnKindHelper goal in `emit_specialized_closure_kind_error`) - #140320 (replace `GenericArg` with `Term` where applicable) - #140325 (Grammar fixes for BufRead::has_data_left docs) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index 5242261cf93..96fac4f6bde 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -2319,9 +2319,9 @@ pub trait BufRead: Read { /// Checks if there is any data left to be `read`. /// /// This function may fill the buffer to check for data, - /// so this functions returns `Result<bool>`, not `bool`. + /// so this function returns `Result<bool>`, not `bool`. /// - /// Default implementation calls `fill_buf` and checks that + /// The default implementation calls `fill_buf` and checks that the /// returned slice is empty (which means that there is no data left, /// since EOF is reached). /// |
