mirror of https://github.com/rust-lang/rust.git
Fix doc typo for read_exact_at
This commit is contained in:
parent
bf8716f1cd
commit
3896f0bb9b
|
@ -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…
Reference in New Issue