mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 12:33:14 +00:00
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.
This commit is contained in:
commit
e1b3f45178
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user