fail! -> panic!

This commit is contained in:
Tomaka17 2014-10-30 08:14:09 +01:00
parent 367d488ccd
commit 7de3d55e71
3 changed files with 4 additions and 4 deletions

View file

@ -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 {