From 31183bbd5a0d4e7873f0c789dc537b1eab60dee1 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 6 Mar 2020 14:27:09 +0000 Subject: [PATCH] Fix missing ` in doc for File::with_options --- src/libstd/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 09be3f1305052..e20fcfafa229b 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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.