From d8e36cf68db299c74b4921cb2cc78554cc4b0d41 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Fri, 19 Aug 2022 12:05:15 +0200 Subject: [PATCH] Fix println! statements --- ctru-rs/examples/system-configuration.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ctru-rs/examples/system-configuration.rs b/ctru-rs/examples/system-configuration.rs index 6f51c23..a5ae05c 100644 --- a/ctru-rs/examples/system-configuration.rs +++ b/ctru-rs/examples/system-configuration.rs @@ -13,16 +13,16 @@ fn main() { let _console = Console::init(gfx.top_screen.borrow_mut()); println!( - "\x1b[0;0H{}", - format!("Region: {:?}", cfgu.get_region().unwrap()) + "\x1b[0;0HRegion: {:?}", + cfgu.get_region().unwrap() ); println!( - "\x1b[10;0H{}", - format!("Language: {:?}", cfgu.get_language().unwrap()) + "\x1b[10;0HLanguage: {:?}", + cfgu.get_language().unwrap() ); println!( - "\x1b[20;0H{}", - format!("Model: {:?}", cfgu.get_model().unwrap()) + "\x1b[20;0HModel: {:?}", + cfgu.get_model().unwrap() ); // Main loop