diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 431a1efc8d1f6..55bd2c59406df 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1620,7 +1620,7 @@ pub fn remove_file>(path: P) -> io::Result<()> { /// # Platform-specific behavior /// /// This function currently corresponds to the `stat` function on Unix -/// and the `GetFileAttributesEx` function on Windows. +/// and the `GetFileInformationByHandle` function on Windows. /// Note that, this [may change in the future][changes]. /// /// [changes]: io#platform-specific-behavior @@ -1654,7 +1654,7 @@ pub fn metadata>(path: P) -> io::Result { /// # Platform-specific behavior /// /// This function currently corresponds to the `lstat` function on Unix -/// and the `GetFileAttributesEx` function on Windows. +/// and the `GetFileInformationByHandle` function on Windows. /// Note that, this [may change in the future][changes]. /// /// [changes]: io#platform-specific-behavior