about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexBuz <alexbuzanis@gmail.com>2023-12-24 19:28:03 -0600
committerGitHub <noreply@github.com>2023-12-24 19:28:03 -0600
commit3896f0bb9bc78a2b6d2cf0b3c45d4845d0be8c0b (patch)
tree6e7b4ac5355d80af21df93b096497a7a8ca952bd
parentbf8716f1cd6416266807706bcae0ecb2e51c9d4a (diff)
downloadrust-3896f0bb9bc78a2b6d2cf0b3c45d4845d0be8c0b.tar.gz
rust-3896f0bb9bc78a2b6d2cf0b3c45d4845d0be8c0b.zip
Fix doc typo for read_exact_at
-rw-r--r--library/std/src/os/unix/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/unix/fs.rs b/library/std/src/os/unix/fs.rs
index 0eb4e88cfad..e995d5133f8 100644
--- a/library/std/src/os/unix/fs.rs
+++ b/library/std/src/os/unix/fs.rs
@@ -68,7 +68,7 @@ pub trait FileExt {
         io::default_read_vectored(|b| self.read_at(b, offset), bufs)
     }
 
-    /// Reads the exact number of byte required to fill `buf` from the given offset.
+    /// Reads the exact number of bytes required to fill `buf` from the given offset.
     ///
     /// The offset is relative to the start of the file and thus independent
     /// from the current cursor.