From af642bb466722a9afc84f5e131b7bdd3ed90ad16 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 2 Mar 2022 12:39:36 -0800 Subject: [PATCH] Fix a broken doc link on Windows. --- library/std/src/os/fd/raw.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/std/src/os/fd/raw.rs b/library/std/src/os/fd/raw.rs index 35b8b95037292..f9c883dd6bf08 100644 --- a/library/std/src/os/fd/raw.rs +++ b/library/std/src/os/fd/raw.rs @@ -5,9 +5,7 @@ use crate::fs; use crate::io; use crate::os::raw; -#[cfg(all(doc, unix))] -use crate::os::unix::io::AsFd; -#[cfg(all(doc, target_os = "wasi"))] +#[cfg(doc)] use crate::os::unix::io::AsFd; #[cfg(unix)] use crate::os::unix::io::OwnedFd;