summaryrefslogtreecommitdiff
path: root/winpty/src/windows.rs
diff options
context:
space:
mode:
Diffstat (limited to 'winpty/src/windows.rs')
-rw-r--r--winpty/src/windows.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/winpty/src/windows.rs b/winpty/src/windows.rs
index 064db2da..5746df2a 100644
--- a/winpty/src/windows.rs
+++ b/winpty/src/windows.rs
@@ -337,10 +337,9 @@ impl<'a> Drop for SpawnConfig<'a> {
#[cfg(test)]
mod tests {
- extern crate named_pipe;
- extern crate winapi;
+ use named_pipe::PipeClient;
+ use winapi;
- use self::named_pipe::PipeClient;
use self::winapi::um::processthreadsapi::OpenProcess;
use self::winapi::um::winnt::READ_CONTROL;