Skip to content

Commit 3431fb7

Browse files
committed
fix a doc typo at std::os::unix::fs::FileExt::write_at
1 parent 93dd620 commit 3431fb7

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/os/unix

1 file changed

+1
-1
lines changed

library/std/src/os/unix/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub trait FileExt {
155155
/// flag fail to respect the offset parameter, always appending to the end
156156
/// of the file instead.
157157
///
158-
/// It is possible to inadvertantly set this flag, like in the example below.
158+
/// It is possible to inadvertently set this flag, like in the example below.
159159
/// Therefore, it is important to be vigilant while changing options to mitigate
160160
/// unexpected behaviour.
161161
///

0 commit comments

Comments
 (0)