Browse Source

Final lint fixing?

pull/137/head
Andrea Ciliberti 1 year ago
parent
commit
c8e38a6fe4
  1. 2
      ctru-rs/examples/title-info.rs
  2. 2
      ctru-rs/src/services/romfs.rs

2
ctru-rs/examples/title-info.rs

@ -68,7 +68,7 @@ fn main() {
// Render the title list via a scrollable text UI. // Render the title list via a scrollable text UI.
if refresh { if refresh {
let mut selected_title = cur_list.iter().nth(offset).unwrap(); let mut selected_title = cur_list.get(offset).unwrap();
// Clear the top screen and write title IDs to it. // Clear the top screen and write title IDs to it.
top_screen.select(); top_screen.select();

2
ctru-rs/src/services/romfs.rs

@ -87,7 +87,7 @@ mod tests {
fn romfs_lock() { fn romfs_lock() {
let romfs = RomFS::new().unwrap(); let romfs = RomFS::new().unwrap();
*ROMFS_ACTIVE.try_lock().unwrap(); ROMFS_ACTIVE.try_lock().unwrap();
drop(romfs); drop(romfs);
} }

Loading…
Cancel
Save