From adbd38d85bea555bfe0434e489088a8b06445522 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Tue, 10 Nov 2015 11:17:26 -0800 Subject: [docs] Update references to renamed fs::stat function --- src/libstd/path.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstd/path.rs') diff --git a/src/libstd/path.rs b/src/libstd/path.rs index fe12b671235..8c227a93604 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1742,7 +1742,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() -- cgit 1.4.1-3-g733a5