mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
fail! -> panic!
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user