Skip to content

Commit

Permalink
fix a doc typo at std::os::unix::fs::FileExt::write_at
Browse files Browse the repository at this point in the history
  • Loading branch information
xzmeng committed Aug 28, 2023
1 parent 93dd620 commit 3431fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/os/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub trait FileExt {
/// flag fail to respect the offset parameter, always appending to the end
/// of the file instead.
///
/// It is possible to inadvertantly set this flag, like in the example below.
/// It is possible to inadvertently set this flag, like in the example below.
/// Therefore, it is important to be vigilant while changing options to mitigate
/// unexpected behaviour.
///
Expand Down

0 comments on commit 3431fb7

Please sign in to comment.