aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-10-30 10:07:43 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-10-30 10:07:43 +0100
commit118b7d32b4edc7c961f93e1c841d6aca04dee550 (patch)
treea094bd6d07815547e9c2133f5a65c8b7649dbf71 /src/win32
parent367d488ccd194c2dba78c600eff94189e338851d (diff)
parent7de3d55e7138fa0d70d18429b733d0ca5bdc2e5b (diff)
downloadglutin-118b7d32b4edc7c961f93e1c841d6aca04dee550.tar.gz
glutin-118b7d32b4edc7c961f93e1c841d6aca04dee550.zip
Merge pull request #91 from tomaka/fail-to-panic
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 {