Browse Source

Fix println! statements

pull/68/head
Andrea Ciliberti 2 years ago
parent
commit
d8e36cf68d
  1. 12
      ctru-rs/examples/system-configuration.rs

12
ctru-rs/examples/system-configuration.rs

@ -13,16 +13,16 @@ fn main() { @@ -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

Loading…
Cancel
Save