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)
|
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
|
/// The offset is relative to the start of the file and thus independent
|
||||||
/// from the current cursor.
|
/// from the current cursor.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user