mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Fix warning with non-constant string
This commit is contained in:
parent
a3e5187457
commit
068bc95fe7
|
@ -11,7 +11,7 @@ const PALETTE_BACKGROUND: MemoryMapped1DArray<u16, 256> =
|
|||
|
||||
#[cfg(debug_assertions)]
|
||||
unsafe fn debug_unreachable_unchecked(message: &'static str) -> ! {
|
||||
unreachable!(message);
|
||||
unreachable!("{}", message);
|
||||
}
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
|
|
Loading…
Reference in a new issue