Skip to content

Commit e1b3f45

Browse files
authored
Rollup merge of #119287 - AlexBuz:patch-1, r=the8472
Fix doc typo for read_exact_at This adds an "s" at the end of "byte" to make it plural, as it should be here.
2 parents 1ab7831 + 3896f0b commit e1b3f45

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/os/unix

1 file changed

+1
-1
lines changed

library/std/src/os/unix/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub trait FileExt {
6868
io::default_read_vectored(|b| self.read_at(b, offset), bufs)
6969
}
7070

71-
/// Reads the exact number of byte required to fill `buf` from the given offset.
71+
/// Reads the exact number of bytes required to fill `buf` from the given offset.
7272
///
7373
/// The offset is relative to the start of the file and thus independent
7474
/// from the current cursor.

0 commit comments

Comments
 (0)