From 35d7c7832f3a2716a660a445f0c444d24225c508 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Fri, 19 Aug 2022 12:09:41 +0200 Subject: [PATCH] Formatting println! --- ctru-rs/examples/system-configuration.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/ctru-rs/examples/system-configuration.rs b/ctru-rs/examples/system-configuration.rs index a5ae05c..5b04a0e 100644 --- a/ctru-rs/examples/system-configuration.rs +++ b/ctru-rs/examples/system-configuration.rs @@ -12,18 +12,9 @@ fn main() { let cfgu = Cfgu::init().expect("Couldn't obtain CFGU controller"); let _console = Console::init(gfx.top_screen.borrow_mut()); - println!( - "\x1b[0;0HRegion: {:?}", - cfgu.get_region().unwrap() - ); - println!( - "\x1b[10;0HLanguage: {:?}", - cfgu.get_language().unwrap() - ); - println!( - "\x1b[20;0HModel: {:?}", - cfgu.get_model().unwrap() - ); + println!("\x1b[0;0HRegion: {:?}", cfgu.get_region().unwrap()); + println!("\x1b[10;0HLanguage: {:?}", cfgu.get_language().unwrap()); + println!("\x1b[20;0HModel: {:?}", cfgu.get_model().unwrap()); // Main loop while apt.main_loop() {