diff options
author | Joe Wilm <jwilm@users.noreply.github.com> | 2018-12-10 09:53:56 -0800 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-12-10 17:53:56 +0000 |
commit | 217ad9ec285b4923de1790b0976c8c793039c994 (patch) | |
tree | 440e0d6d35f119246d2b113fd01b431f4f9c2c38 /winpty | |
parent | 7ab0b448479c9705fa14003bda97040630710b7a (diff) | |
download | alacritty-217ad9ec285b4923de1790b0976c8c793039c994.tar.gz alacritty-217ad9ec285b4923de1790b0976c8c793039c994.zip |
Upgrade to Rust 2018
This resolves a lot of NLL issues, however full NLL will be necessary to
handle a couple of remaining issues.
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 |