Skip to content

Commit 31183bb

Browse files
authored
Fix missing ` in doc for File::with_options
1 parent 865b44a commit 31183bb

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
@@ -407,7 +407,7 @@ impl File {
407407
///
408408
/// It is equivalent to `OpenOptions::new()` but allows you to write more
409409
/// readable code. Instead of `OpenOptions::new().read(true).open("foo.txt")`
410-
/// you can write `File::with_options().read(true).open("foo.txt"). This
410+
/// you can write `File::with_options().read(true).open("foo.txt")`. This
411411
/// also avoids the need to import `OpenOptions`.
412412
///
413413
/// See the [`OpenOptions::new`] function for more details.

0 commit comments

Comments
 (0)