diff options
| author | bors <bors@rust-lang.org> | 2015-11-11 11:09:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-11 11:09:43 +0000 |
| commit | 7d3477ce094de69823006d0a2ca147b970eee2e2 (patch) | |
| tree | 2e121cd827fb874f2ee276239ff8371ecfc0990e /src/libstd/path.rs | |
| parent | 19bdf87e8c87ca51512f1f28acd395a8f4cbe76a (diff) | |
| parent | adbd38d85bea555bfe0434e489088a8b06445522 (diff) | |
| download | rust-7d3477ce094de69823006d0a2ca147b970eee2e2.tar.gz rust-7d3477ce094de69823006d0a2ca147b970eee2e2.zip | |
Auto merge of #29755 - mbrubeck:stat-doc, r=steveklabnik
Moved from #29753. r? @steveklabnik
Diffstat (limited to 'src/libstd/path.rs')
| -rw-r--r-- | src/libstd/path.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index 6b5e16ae113..f97ad5b8835 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1832,7 +1832,8 @@ impl Path { } /// Boolean value indicator whether the underlying file exists on the local - /// filesystem. Returns false in exactly the cases where `fs::stat` fails. + /// filesystem. Returns false in exactly the cases where `fs::metadata` + /// fails. #[stable(feature = "path_ext", since = "1.5.0")] pub fn exists(&self) -> bool { fs::metadata(self).is_ok() |
