Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8c86202

Browse files
committedDec 8, 2018
Horribly broken so far
1 parent 8269ed2 commit 8c86202

File tree

9 files changed

+1228
-1221
lines changed

9 files changed

+1228
-1221
lines changed
 

‎src/event_loop.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use monitor::{AvailableMonitorsIter, MonitorHandle};
3232
/// `EventLoopProxy` allows you to wake up an `EventLoop` from an other thread.
3333
pub struct EventLoop<T: 'static> {
3434
pub(crate) event_loop: platform_impl::EventLoop<T>,
35-
pub(crate) _marker: ::std::marker::PhantomData<*mut ()> // Not Send nor Sync
35+
pub(crate) _marker: ::std::marker::PhantomData<*mut ()>, // Not Send nor Sync
3636
}
3737

3838
/// Target that associates windows with an `EventLoop`.
@@ -42,7 +42,7 @@ pub struct EventLoop<T: 'static> {
4242
/// take `&EventLoop`.
4343
pub struct EventLoopWindowTarget<T: 'static> {
4444
pub(crate) p: platform_impl::EventLoopWindowTarget<T>,
45-
pub(crate) _marker: ::std::marker::PhantomData<*mut ()> // Not Send nor Sync
45+
pub(crate) _marker: ::std::marker::PhantomData<*mut ()>, // Not Send nor Sync
4646
}
4747

4848
impl<T> fmt::Debug for EventLoop<T> {

‎src/platform/macos.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#![cfg(target_os = "macos")]
22

33
use std::os::raw::c_void;
4-
use {LogicalSize, MonitorHandle, Window, WindowBuilder};
4+
5+
use {dpi::LogicalSize, monitor::MonitorHandle, window::{Window, WindowBuilder}};
56

67
/// Additional methods on `Window` that are specific to MacOS.
78
pub trait WindowExtMacOS {

0 commit comments

Comments
 (0)
Please sign in to comment.