about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-28 09:15:30 +0200
committerGitHub <noreply@github.com>2025-09-28 09:15:30 +0200
commitf4032bcb8aae2b7bdac811a25e2aad5facd81178 (patch)
tree22b20225c247bae34958b8d9e741c4ab6fd0f191 /library
parentf31963ff825a77f650aa815528f43b9dc968ad2f (diff)
parent3a20a4d0a5463edb5fca2adfbe0522042a9ce752 (diff)
downloadrust-f4032bcb8aae2b7bdac811a25e2aad5facd81178.tar.gz
rust-f4032bcb8aae2b7bdac811a25e2aad5facd81178.zip
Rollup merge of #147110 - SebastianSpeitel:patch-1, r=saethlin
Fix typo

Noticed this when looking at the source on doc.rust-lang.org
Diffstat (limited to 'library')
-rw-r--r--library/std/src/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index a45edd08e8c..25a4661a0bc 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -3234,7 +3234,7 @@ fn inlined_slow_read_byte<R: Read>(reader: &mut R) -> Option<Result<u8>> {
     }
 }
 
-// Used by `BufReader::spec_read_byte`, for which the `inline(ever)` is
+// Used by `BufReader::spec_read_byte`, for which the `inline(never)` is
 // important.
 #[inline(never)]
 fn uninlined_slow_read_byte<R: Read>(reader: &mut R) -> Option<Result<u8>> {