aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-10-30 08:14:09 +0100
committerTomaka17 <pierre.krieger1708@gmail.com>2014-10-30 08:14:09 +0100
commit7de3d55e7138fa0d70d18429b733d0ca5bdc2e5b (patch)
treea094bd6d07815547e9c2133f5a65c8b7649dbf71 /src/win32
parent367d488ccd194c2dba78c600eff94189e338851d (diff)
downloadglutin-7de3d55e7138fa0d70d18429b733d0ca5bdc2e5b.tar.gz
glutin-7de3d55e7138fa0d70d18429b733d0ca5bdc2e5b.zip
fail! -> panic!
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/monitor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/monitor.rs b/src/win32/monitor.rs
index a45c8fb..3e6b79a 100644
--- a/src/win32/monitor.rs
+++ b/src/win32/monitor.rs
@@ -101,7 +101,7 @@ pub fn get_primary_monitor() -> MonitorID {
}
}
- fail!("Failed to find the primary monitor")
+ panic!("Failed to find the primary monitor")
}
impl MonitorID {