From 5c40787c7b84c8f969c56e40e1ac68fff600d716 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 13 Oct 2022 20:20:57 -0600 Subject: [PATCH] ln --- examples/hello.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello.rs b/examples/hello.rs index 94ee975..ab8deb6 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -10,7 +10,7 @@ use gba::{ #[panic_handler] fn panic_handler(info: &core::panic::PanicInfo) -> ! { if let Ok(mut logger) = MgbaBufferedLogger::try_new(MgbaMessageLevel::Fatal) { - write!(logger, "{info}").ok(); + writeln!(logger, "{info}").ok(); } loop {} }