diff --git a/libsupport_zynq/src/panic.rs b/libsupport_zynq/src/panic.rs index 0f9d142..e9e8522 100644 --- a/libsupport_zynq/src/panic.rs +++ b/libsupport_zynq/src/panic.rs @@ -10,7 +10,7 @@ fn panic(info: &core::panic::PanicInfo) -> ! { } else { print!("unknown location"); } - if let Some(message) = info.message() { + if let Some(message) = info.message().as_str() { println!(": {}", message); } else { println!("");