about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorLukas <lukas-code@outlook.com>2020-03-06 14:27:09 +0000
committerGitHub <noreply@github.com>2020-03-06 14:27:09 +0000
commit31183bbd5a0d4e7873f0c789dc537b1eab60dee1 (patch)
treedb5105f6cddab98a0566fae81041033470236950 /src/libstd
parent865b44a3e330f3ef8be0f6edf69896c9ed957ac0 (diff)
downloadrust-31183bbd5a0d4e7873f0c789dc537b1eab60dee1.tar.gz
rust-31183bbd5a0d4e7873f0c789dc537b1eab60dee1.zip
Fix missing ` in doc for File::with_options
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index 09be3f13050..e20fcfafa22 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.