Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
francesca64 committed Jun 3, 2018
1 parent d5edde7 commit dfe40b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/platform/linux/wayland/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,16 +439,16 @@ impl fmt::Debug for MonitorId {
struct MonitorId {
name: Option<String>,
native_identifier: u32,
dimensions: (u32, u32),
position: (i32, i32),
dimensions: PhysicalSize,
position: PhysicalPosition,
hidpi_factor: i32,
}

let monitor_id_proxy = MonitorId {
name: self.get_name(),
native_identifier: self.get_native_identifier(),
dimensions: self.get_dimensions().into(),
position: self.get_position().into(),
dimensions: self.get_dimensions(),
position: self.get_position(),
hidpi_factor: self.get_hidpi_factor(),
};

Expand Down
2 changes: 1 addition & 1 deletion src/platform/linux/wayland/window.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::sync::{Arc, Mutex, Weak};

use {CreationError, CursorState, MouseCursor, WindowAttributes, LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize};
use {CreationError, CursorState, MouseCursor, WindowAttributes, LogicalPosition, LogicalSize};
use platform::MonitorId as PlatformMonitorId;
use window::MonitorId as RootMonitorId;

Expand Down

0 comments on commit dfe40b6

Please sign in to comment.