@@ -1176,6 +1176,7 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
11761176/// This function currently corresponds to the `unlink` function on Unix
11771177/// and the `DeleteFile` function on Windows.
11781178/// Note that, this [may change in the future][changes].
1179+ ///
11791180/// [changes]: ../io/index.html#platform-specific-behavior
11801181///
11811182/// # Errors
@@ -1212,6 +1213,7 @@ pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
12121213/// This function currently corresponds to the `stat` function on Unix
12131214/// and the `GetFileAttributesEx` function on Windows.
12141215/// Note that, this [may change in the future][changes].
1216+ ///
12151217/// [changes]: ../io/index.html#platform-specific-behavior
12161218///
12171219/// # Errors
@@ -1245,6 +1247,7 @@ pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
12451247/// This function currently corresponds to the `lstat` function on Unix
12461248/// and the `GetFileAttributesEx` function on Windows.
12471249/// Note that, this [may change in the future][changes].
1250+ ///
12481251/// [changes]: ../io/index.html#platform-specific-behavior
12491252///
12501253/// # Errors
@@ -1287,6 +1290,7 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
12871290/// on Windows, `from` can be anything, but `to` must *not* be a directory.
12881291///
12891292/// Note that, this [may change in the future][changes].
1293+ ///
12901294/// [changes]: ../io/index.html#platform-specific-behavior
12911295///
12921296/// # Errors
@@ -1330,6 +1334,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
13301334/// `O_CLOEXEC` is set for returned file descriptors.
13311335/// On Windows, this function currently corresponds to `CopyFileEx`.
13321336/// Note that, this [may change in the future][changes].
1337+ ///
13331338/// [changes]: ../io/index.html#platform-specific-behavior
13341339///
13351340/// # Errors
@@ -1366,6 +1371,7 @@ pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
13661371/// This function currently corresponds to the `link` function on Unix
13671372/// and the `CreateHardLink` function on Windows.
13681373/// Note that, this [may change in the future][changes].
1374+ ///
13691375/// [changes]: ../io/index.html#platform-specific-behavior
13701376///
13711377/// # Errors
@@ -1424,6 +1430,7 @@ pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<(
14241430/// and the `CreateFile` function with `FILE_FLAG_OPEN_REPARSE_POINT` and
14251431/// `FILE_FLAG_BACKUP_SEMANTICS` flags on Windows.
14261432/// Note that, this [may change in the future][changes].
1433+ ///
14271434/// [changes]: ../io/index.html#platform-specific-behavior
14281435///
14291436/// # Errors
@@ -1457,6 +1464,7 @@ pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
14571464/// This function currently corresponds to the `realpath` function on Unix
14581465/// and the `CreateFile` and `GetFinalPathNameByHandle` functions on Windows.
14591466/// Note that, this [may change in the future][changes].
1467+ ///
14601468/// [changes]: ../io/index.html#platform-specific-behavior
14611469///
14621470/// # Errors
@@ -1489,6 +1497,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
14891497/// This function currently corresponds to the `mkdir` function on Unix
14901498/// and the `CreateDirectory` function on Windows.
14911499/// Note that, this [may change in the future][changes].
1500+ ///
14921501/// [changes]: ../io/index.html#platform-specific-behavior
14931502///
14941503/// # Errors
@@ -1522,6 +1531,7 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
15221531/// This function currently corresponds to the `mkdir` function on Unix
15231532/// and the `CreateDirectory` function on Windows.
15241533/// Note that, this [may change in the future][changes].
1534+ ///
15251535/// [changes]: ../io/index.html#platform-specific-behavior
15261536///
15271537/// # Errors
@@ -1562,6 +1572,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
15621572/// This function currently corresponds to the `rmdir` function on Unix
15631573/// and the `RemoveDirectory` function on Windows.
15641574/// Note that, this [may change in the future][changes].
1575+ ///
15651576/// [changes]: ../io/index.html#platform-specific-behavior
15661577///
15671578/// # Errors
@@ -1599,6 +1610,7 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
15991610/// and the `FindFirstFile`, `GetFileAttributesEx`, `DeleteFile`, and `RemoveDirectory` functions
16001611/// on Windows.
16011612/// Note that, this [may change in the future][changes].
1613+ ///
16021614/// [changes]: ../io/index.html#platform-specific-behavior
16031615///
16041616/// # Errors
@@ -1633,6 +1645,7 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
16331645/// This function currently corresponds to the `opendir` function on Unix
16341646/// and the `FindFirstFile` function on Windows.
16351647/// Note that, this [may change in the future][changes].
1648+ ///
16361649/// [changes]: ../io/index.html#platform-specific-behavior
16371650///
16381651/// # Errors
@@ -1679,6 +1692,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
16791692/// This function currently corresponds to the `chmod` function on Unix
16801693/// and the `SetFileAttributes` function on Windows.
16811694/// Note that, this [may change in the future][changes].
1695+ ///
16821696/// [changes]: ../io/index.html#platform-specific-behavior
16831697///
16841698/// # Errors
0 commit comments