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:
Matthias Krüger 2023-12-26 08:48:33 +01:00 committed by GitHub
commit e1b3f45178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.