@@ -1176,6 +1176,7 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
1176
1176
/// This function currently corresponds to the `unlink` function on Unix
1177
1177
/// and the `DeleteFile` function on Windows.
1178
1178
/// Note that, this [may change in the future][changes].
1179
+ ///
1179
1180
/// [changes]: ../io/index.html#platform-specific-behavior
1180
1181
///
1181
1182
/// # Errors
@@ -1212,6 +1213,7 @@ pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
1212
1213
/// This function currently corresponds to the `stat` function on Unix
1213
1214
/// and the `GetFileAttributesEx` function on Windows.
1214
1215
/// Note that, this [may change in the future][changes].
1216
+ ///
1215
1217
/// [changes]: ../io/index.html#platform-specific-behavior
1216
1218
///
1217
1219
/// # Errors
@@ -1245,6 +1247,7 @@ pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
1245
1247
/// This function currently corresponds to the `lstat` function on Unix
1246
1248
/// and the `GetFileAttributesEx` function on Windows.
1247
1249
/// Note that, this [may change in the future][changes].
1250
+ ///
1248
1251
/// [changes]: ../io/index.html#platform-specific-behavior
1249
1252
///
1250
1253
/// # Errors
@@ -1287,6 +1290,7 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
1287
1290
/// on Windows, `from` can be anything, but `to` must *not* be a directory.
1288
1291
///
1289
1292
/// Note that, this [may change in the future][changes].
1293
+ ///
1290
1294
/// [changes]: ../io/index.html#platform-specific-behavior
1291
1295
///
1292
1296
/// # Errors
@@ -1330,6 +1334,7 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()>
1330
1334
/// `O_CLOEXEC` is set for returned file descriptors.
1331
1335
/// On Windows, this function currently corresponds to `CopyFileEx`.
1332
1336
/// Note that, this [may change in the future][changes].
1337
+ ///
1333
1338
/// [changes]: ../io/index.html#platform-specific-behavior
1334
1339
///
1335
1340
/// # Errors
@@ -1366,6 +1371,7 @@ pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
1366
1371
/// This function currently corresponds to the `link` function on Unix
1367
1372
/// and the `CreateHardLink` function on Windows.
1368
1373
/// Note that, this [may change in the future][changes].
1374
+ ///
1369
1375
/// [changes]: ../io/index.html#platform-specific-behavior
1370
1376
///
1371
1377
/// # Errors
@@ -1424,6 +1430,7 @@ pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<(
1424
1430
/// and the `CreateFile` function with `FILE_FLAG_OPEN_REPARSE_POINT` and
1425
1431
/// `FILE_FLAG_BACKUP_SEMANTICS` flags on Windows.
1426
1432
/// Note that, this [may change in the future][changes].
1433
+ ///
1427
1434
/// [changes]: ../io/index.html#platform-specific-behavior
1428
1435
///
1429
1436
/// # Errors
@@ -1457,6 +1464,7 @@ pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
1457
1464
/// This function currently corresponds to the `realpath` function on Unix
1458
1465
/// and the `CreateFile` and `GetFinalPathNameByHandle` functions on Windows.
1459
1466
/// Note that, this [may change in the future][changes].
1467
+ ///
1460
1468
/// [changes]: ../io/index.html#platform-specific-behavior
1461
1469
///
1462
1470
/// # Errors
@@ -1489,6 +1497,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
1489
1497
/// This function currently corresponds to the `mkdir` function on Unix
1490
1498
/// and the `CreateDirectory` function on Windows.
1491
1499
/// Note that, this [may change in the future][changes].
1500
+ ///
1492
1501
/// [changes]: ../io/index.html#platform-specific-behavior
1493
1502
///
1494
1503
/// # Errors
@@ -1522,6 +1531,7 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1522
1531
/// This function currently corresponds to the `mkdir` function on Unix
1523
1532
/// and the `CreateDirectory` function on Windows.
1524
1533
/// Note that, this [may change in the future][changes].
1534
+ ///
1525
1535
/// [changes]: ../io/index.html#platform-specific-behavior
1526
1536
///
1527
1537
/// # Errors
@@ -1562,6 +1572,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
1562
1572
/// This function currently corresponds to the `rmdir` function on Unix
1563
1573
/// and the `RemoveDirectory` function on Windows.
1564
1574
/// Note that, this [may change in the future][changes].
1575
+ ///
1565
1576
/// [changes]: ../io/index.html#platform-specific-behavior
1566
1577
///
1567
1578
/// # Errors
@@ -1599,6 +1610,7 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1599
1610
/// and the `FindFirstFile`, `GetFileAttributesEx`, `DeleteFile`, and `RemoveDirectory` functions
1600
1611
/// on Windows.
1601
1612
/// Note that, this [may change in the future][changes].
1613
+ ///
1602
1614
/// [changes]: ../io/index.html#platform-specific-behavior
1603
1615
///
1604
1616
/// # Errors
@@ -1633,6 +1645,7 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
1633
1645
/// This function currently corresponds to the `opendir` function on Unix
1634
1646
/// and the `FindFirstFile` function on Windows.
1635
1647
/// Note that, this [may change in the future][changes].
1648
+ ///
1636
1649
/// [changes]: ../io/index.html#platform-specific-behavior
1637
1650
///
1638
1651
/// # Errors
@@ -1679,6 +1692,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
1679
1692
/// This function currently corresponds to the `chmod` function on Unix
1680
1693
/// and the `SetFileAttributes` function on Windows.
1681
1694
/// Note that, this [may change in the future][changes].
1695
+ ///
1682
1696
/// [changes]: ../io/index.html#platform-specific-behavior
1683
1697
///
1684
1698
/// # Errors
0 commit comments