about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-08 16:53:43 +0100
committerGitHub <noreply@github.com>2020-03-08 16:53:43 +0100
commitb61037135cc35d0d248a392a144b2016eab33c75 (patch)
treed6aad678556e85bf1b7d9adc027ff8640d418b11 /src/libstd
parent22d6cc7287cd70a6a225aa5138c6b4d7769d2ad7 (diff)
parent31183bbd5a0d4e7873f0c789dc537b1eab60dee1 (diff)
downloadrust-b61037135cc35d0d248a392a144b2016eab33c75.tar.gz
rust-b61037135cc35d0d248a392a144b2016eab33c75.zip
Rollup merge of #69777 - lukas-code:patch-1, r=jonas-schievink
Add 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.