Skip to content

Commit

Permalink
Fix missing ` in doc for File::with_options
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-code authored Mar 6, 2020
1 parent 865b44a commit 31183bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ impl File {
///
/// It is equivalent to `OpenOptions::new()` but allows you to write more
/// readable code. Instead of `OpenOptions::new().read(true).open("foo.txt")`
/// you can write `File::with_options().read(true).open("foo.txt"). This
/// you can write `File::with_options().read(true).open("foo.txt")`. This
/// also avoids the need to import `OpenOptions`.
///
/// See the [`OpenOptions::new`] function for more details.
Expand Down

0 comments on commit 31183bb

Please sign in to comment.