Skip to content

Commit

Permalink
Fix doc typo for read_exact_at
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBuz authored Dec 25, 2023
1 parent bf8716f commit 3896f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/os/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3896f0b

Please sign in to comment.