We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 919ae59 + 31183bb commit 9ea18a6Copy full SHA for 9ea18a6
src/libstd/fs.rs
@@ -407,7 +407,7 @@ impl File {
407
///
408
/// It is equivalent to `OpenOptions::new()` but allows you to write more
409
/// readable code. Instead of `OpenOptions::new().read(true).open("foo.txt")`
410
- /// you can write `File::with_options().read(true).open("foo.txt"). This
+ /// you can write `File::with_options().read(true).open("foo.txt")`. This
411
/// also avoids the need to import `OpenOptions`.
412
413
/// See the [`OpenOptions::new`] function for more details.
0 commit comments