diff --git a/src/native/android.rs b/src/native/android.rs index 6cab4fa8..f56e3d28 100644 --- a/src/native/android.rs +++ b/src/native/android.rs @@ -346,7 +346,7 @@ where use std::panic; panic::set_hook(Box::new(|info| { - let msg = CString::new(format!("{:?}", info)).unwrap_or_else(|_| { + let msg = CString::new(format!("{info}")).unwrap_or_else(|_| { CString::new(format!("MALFORMED ERROR MESSAGE {:?}", info.location())).unwrap() }); console_error(msg.as_ptr());