]> git.lizzy.rs Git - rust.git/commitdiff
"(using ..." doesn't have the matching ")"
authorKazuyoshi Kato <kato.kazuyoshi@gmail.com>
Wed, 10 Oct 2018 08:09:18 +0000 (01:09 -0700)
committerKazuyoshi Kato <kato.kazuyoshi@gmail.com>
Wed, 10 Oct 2018 08:09:18 +0000 (01:09 -0700)
Fixes #54948.

src/libstd/fs.rs

index f14d55cb2d34f1ea8c443b8a197846307d3c0360..017949291bcf16e37f200141b9254d9fdbaad544 100644 (file)
@@ -726,7 +726,7 @@ pub fn write(&mut self, write: bool) -> &mut 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
     ///