diff options
Diffstat (limited to 'winpty')
-rw-r--r-- | winpty/src/lib.rs | 2 | ||||
-rw-r--r-- | 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 |