From 7de3d55e7138fa0d70d18429b733d0ca5bdc2e5b Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Thu, 30 Oct 2014 08:14:09 +0100 Subject: fail! -> panic! --- src/win32/monitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32') 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 { -- cgit v1.2.3