Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: correct typos in file.rs #266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/fs/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl File {
/// if multiple writev calls are necessary; only the iovec information would be adjusted
/// between calls. A Unix pipe would fall into this category.
///
/// When `Some(n)` is suppied, the offset passed to the writev call will be incremented by the
/// When `Some(n)` is supplied, the offset passed to the writev call will be incremented by the
/// progress of prior writev calls. A file system's regular file would fall into this category.
///
/// If the caller passes `Some(n)` for a file that is not seekable, the `io_uring` `writev`
Expand All @@ -312,7 +312,7 @@ impl File {
/// If the caller passes `None`, when the file *is* seekable, when multiple `writev` calls are
/// required to complete the writing of all the bytes, the bytes at position 0 of the file will
/// have been overwritten one or more times with incorrect data. This is true just as if the
/// caller had invoked seperate write calls to a file, all with position 0, when in fact the
/// caller had invoked separate write calls to a file, all with position 0, when in fact the
/// file was seekable.
///
/// Performance considerations:
Expand Down