Skip to content

Commit 552afd3

Browse files
committed
Fix a docs typo
1 parent 1db9757 commit 552afd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ impl OpenOptions {
512512
/// No file is allowed to exist at the target location, also no (dangling)
513513
/// symlink.
514514
///
515-
/// This option is useful because it as atomic. Otherwise between checking
515+
/// This option is useful because it is atomic. Otherwise between checking
516516
/// whether a file exists and creating a new one, the file may have been
517517
/// created by another process (a TOCTOU race condition / attack).
518518
///

0 commit comments

Comments
 (0)