@@ -2462,10 +2462,10 @@ impl Path {
2462
2462
/// Returns `true` if the path points at an existing entity.
2463
2463
///
2464
2464
/// This function will traverse symbolic links to query information about the
2465
- /// destination file. In case of broken symbolic links this will return `false`.
2465
+ /// destination file.
2466
2466
///
2467
- /// If you cannot access the directory containing the file, e.g., because of a
2468
- /// permission error, this will return `false`.
2467
+ /// If you cannot access the metadata of the file, e.g. because of a
2468
+ /// permission error or broken symbolic links , this will return `false`.
2469
2469
///
2470
2470
/// # Examples
2471
2471
///
@@ -2513,10 +2513,10 @@ impl Path {
2513
2513
/// Returns `true` if the path exists on disk and is pointing at a regular file.
2514
2514
///
2515
2515
/// This function will traverse symbolic links to query information about the
2516
- /// destination file. In case of broken symbolic links this will return `false`.
2516
+ /// destination file.
2517
2517
///
2518
- /// If you cannot access the directory containing the file, e.g., because of a
2519
- /// permission error, this will return `false`.
2518
+ /// If you cannot access the metadata of the file, e.g. because of a
2519
+ /// permission error or broken symbolic links , this will return `false`.
2520
2520
///
2521
2521
/// # Examples
2522
2522
///
@@ -2545,10 +2545,10 @@ impl Path {
2545
2545
/// Returns `true` if the path exists on disk and is pointing at a directory.
2546
2546
///
2547
2547
/// This function will traverse symbolic links to query information about the
2548
- /// destination file. In case of broken symbolic links this will return `false`.
2548
+ /// destination file.
2549
2549
///
2550
- /// If you cannot access the directory containing the file, e.g., because of a
2551
- /// permission error, this will return `false`.
2550
+ /// If you cannot access the metadata of the file, e.g. because of a
2551
+ /// permission error or broken symbolic links , this will return `false`.
2552
2552
///
2553
2553
/// # Examples
2554
2554
///
0 commit comments