Skip to content

Commit a6b2d12

Browse files
committed
use a consistent style for links
1 parent 029cb1b commit a6b2d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/fs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use crate::time::SystemTime;
3737
///
3838
/// # Examples
3939
///
40-
/// Creates a new file and write bytes to it (you can also use [`write()`]):
40+
/// Creates a new file and write bytes to it (you can also use [`write`]):
4141
///
4242
/// ```no_run
4343
/// use std::fs::File;
@@ -2018,7 +2018,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
20182018
/// the length of the `to` file as reported by `metadata`.
20192019
///
20202020
/// If you want to copy the contents of one file to another and you’re
2021-
/// working with [`File`]s, see the [`io::copy()`] function.
2021+
/// working with [`File`]s, see the [`io::copy`](io::copy()) function.
20222022
///
20232023
/// # Platform-specific behavior
20242024
///

0 commit comments

Comments
 (0)