diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2024-04-02 21:41:16 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2024-04-02 21:41:16 +0200 |
| commit | a6b2d12c921552082d6849c75531da666a9c9c82 (patch) | |
| tree | 57271b5a705a8d998f9da284846b863de53e0375 | |
| parent | 029cb1b13b6388b95e64e8996ec8b41a9f3cf16e (diff) | |
| download | rust-a6b2d12c921552082d6849c75531da666a9c9c82.tar.gz rust-a6b2d12c921552082d6849c75531da666a9c9c82.zip | |
use a consistent style for links
| -rw-r--r-- | library/std/src/fs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 9017ba79714..b1102b440e0 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -37,7 +37,7 @@ use crate::time::SystemTime; /// /// # Examples /// -/// Creates a new file and write bytes to it (you can also use [`write()`]): +/// Creates a new file and write bytes to it (you can also use [`write`]): /// /// ```no_run /// use std::fs::File; @@ -2018,7 +2018,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> /// the length of the `to` file as reported by `metadata`. /// /// If you want to copy the contents of one file to another and you’re -/// working with [`File`]s, see the [`io::copy()`] function. +/// working with [`File`]s, see the [`io::copy`](io::copy()) function. /// /// # Platform-specific behavior /// |
