Fix some warnings new in Rust Nightly

This commit is contained in:
Simon Sapin 2019-11-08 11:45:16 +01:00
parent f2e7b4ec8c
commit 94b19beefb
8 changed files with 10 additions and 14 deletions

View file

@ -239,9 +239,9 @@ pub enum ScriptMsg {
/// Get Window Informations size and position
GetClientWindow(IpcSender<(DeviceIntSize, DeviceIntPoint)>),
/// Get the screen size (pixel)
GetScreenSize(IpcSender<(DeviceIntSize)>),
GetScreenSize(IpcSender<DeviceIntSize>),
/// Get the available screen size (pixel)
GetScreenAvailSize(IpcSender<(DeviceIntSize)>),
GetScreenAvailSize(IpcSender<DeviceIntSize>),
}
impl fmt::Debug for ScriptMsg {