about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-12 22:04:14 +0800
committerGitHub <noreply@github.com>2018-10-12 22:04:14 +0800
commit8e3f18918091bbd5f45c7a0bc86702532a25dde0 (patch)
treec86523d8743868e7c8f81c3da9a6d5f309308416
parent8d3d96f08a30ae823d31c9d40572f2cfbb36110f (diff)
parentda17e07c14a6d488e3cf92de6f9ad1ada7f780b0 (diff)
downloadrust-8e3f18918091bbd5f45c7a0bc86702532a25dde0.tar.gz
rust-8e3f18918091bbd5f45c7a0bc86702532a25dde0.zip
Rollup merge of #54956 - kzys:close-paren, r=varkor
"(using ..." doesn't have the matching ")"

Fixes #54948.
-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 f14d55cb2d3..017949291bc 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -726,7 +726,7 @@ impl OpenOptions {
     /// If a file is opened with both read and append access, beware that after
     /// opening, and after every write, the position for reading may be set at the
     /// end of the file. So, before writing, save the current position (using
-    /// [`seek`]`(`[`SeekFrom`]`::`[`Current`]`(0))`, and restore it before the next read.
+    /// [`seek`]`(`[`SeekFrom`]`::`[`Current`]`(0))`), and restore it before the next read.
     ///
     /// ## Note
     ///