fail! -> panic!
This commit is contained in:
parent
367d488ccd
commit
7de3d55e71
3 changed files with 4 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue