diff --git a/ctru-rs/src/services/romfs.rs b/ctru-rs/src/services/romfs.rs index a311e9c..e7f992c 100644 --- a/ctru-rs/src/services/romfs.rs +++ b/ctru-rs/src/services/romfs.rs @@ -89,7 +89,7 @@ mod tests { #[should_panic] fn romfs_lock() { let romfs = RomFS::new().unwrap(); - + ROMFS_ACTIVE.try_lock().unwrap(); drop(romfs); diff --git a/ctru-sys/build.rs b/ctru-sys/build.rs index 3ad5851..b1a48b3 100644 --- a/ctru-sys/build.rs +++ b/ctru-sys/build.rs @@ -169,7 +169,7 @@ fn check_libctru_version() -> Result<(String, String, String), Box> { .expect("crate version should have '+' delimeter"); if lib_version != crate_built_version { - Err(format!( + return Err(format!( "libctru version is {lib_version} but this crate was built for {crate_built_version}" ) .into());