diff options
Diffstat (limited to 'ext/io/bi_pipe.rs')
-rw-r--r-- | ext/io/bi_pipe.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/io/bi_pipe.rs b/ext/io/bi_pipe.rs index 04fff7b00..402e383ac 100644 --- a/ext/io/bi_pipe.rs +++ b/ext/io/bi_pipe.rs @@ -11,11 +11,7 @@ use deno_core::RcRef; use tokio::io::AsyncReadExt; use tokio::io::AsyncWriteExt; -#[cfg(unix)] -pub type RawBiPipeHandle = std::os::fd::RawFd; - -#[cfg(windows)] -pub type RawBiPipeHandle = std::os::windows::io::RawHandle; +pub type RawBiPipeHandle = super::RawIoHandle; /// One end of a bidirectional pipe. This implements the /// `Resource` trait. |