Migrate to 2018 edition. (#924)
* Migrate to 2018 edition. * Use impl Iterator at one site. * Fix more rust 2018 idioms.
This commit is contained in:
parent
2e0bbc091f
commit
f879bca21c
71 changed files with 411 additions and 436 deletions
|
|
@ -5,11 +5,11 @@ use std::os::raw::c_void;
|
|||
use libc;
|
||||
use winapi::shared::windef::HWND;
|
||||
|
||||
use event::DeviceId;
|
||||
use monitor::MonitorHandle;
|
||||
use event_loop::EventLoop;
|
||||
use window::{Icon, Window, WindowBuilder};
|
||||
use platform_impl::EventLoop as WindowsEventLoop;
|
||||
use crate::event::DeviceId;
|
||||
use crate::monitor::MonitorHandle;
|
||||
use crate::event_loop::EventLoop;
|
||||
use crate::window::{Icon, Window, WindowBuilder};
|
||||
use crate::platform_impl::EventLoop as WindowsEventLoop;
|
||||
|
||||
/// Additional methods on `EventLoop` that are specific to Windows.
|
||||
pub trait EventLoopExtWindows {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue