From 926b92e864cbda9105f383df7adc3f73aef05ca0 Mon Sep 17 00:00:00 2001 From: Zac Pullar-Strecker Date: Fri, 7 Dec 2018 10:20:54 +1300 Subject: [PATCH] Move winpty to 2018 --- winpty/src/lib.rs | 2 +- winpty/src/windows.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winpty/src/lib.rs b/winpty/src/lib.rs index 90714c74..117ec16d 100644 --- a/winpty/src/lib.rs +++ b/winpty/src/lib.rs @@ -12,4 +12,4 @@ extern crate winpty_sys; pub mod windows; #[cfg(windows)] -pub use windows::*; +pub use crate::windows::*; diff --git a/winpty/src/windows.rs b/winpty/src/windows.rs index 84762585..10a3df37 100644 --- a/winpty/src/windows.rs +++ b/winpty/src/windows.rs @@ -349,7 +349,7 @@ mod tests { use self::winapi::um::processthreadsapi::OpenProcess; use self::winapi::um::winnt::READ_CONTROL; - use {Config, ConfigFlags, SpawnConfig, SpawnFlags, Winpty}; + use crate::{Config, ConfigFlags, SpawnConfig, SpawnFlags, Winpty}; #[test] // Test that we can start a process in winpty