about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-02 11:13:26 +0200
committerGitHub <noreply@github.com>2022-06-02 11:13:26 +0200
commitfa79247826033eff7c422f95d6cda73dd0b211e1 (patch)
treea5da6a6bfe6b022007374c8b0fd31ed50def1a52 /compiler/rustc_mir_transform/src/coverage/debug.rs
parenteb642d48ee44bfc303d25387cf875e4b3ac91586 (diff)
parent0835dfe5795ef7f7214a9fa6dc8facb8ed166a1c (diff)
downloadrust-fa79247826033eff7c422f95d6cda73dd0b211e1.tar.gz
rust-fa79247826033eff7c422f95d6cda73dd0b211e1.zip
Rollup merge of #97635 - rgwood:patch-1, r=ChrisDenton
Fix file metadata documentation for Windows

I noticed that the documentation for `fs::symlink_metadata()` and `fs::metadata()` is incorrect; [the underlying code](https://github.com/rust-lang/rust/blob/481db40311cdd241ae4d33f34f2f75732e44d8e8/library/std/src/sys/windows/fs.rs#L334) calls [`GetFileInformationByHandle()`](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileinformationbyhandle) on Windows, not [`GetFileAttributesEx()`](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileattributesexw). There are currently [no uses of `GetFileAttributesEx()` in this repo](https://github.com/rust-lang/rust/search?q=GetFileAttributesEx).
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions