diff --git a/src/lib.rs b/src/lib.rs index 2ddd597..e50023d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,14 +22,12 @@ pub fn get_should_link(input: &mut Input) -> bool { // When running compile only commands, don't link the executable to the 3ds. // Otherwise, link and run on the 3ds but do not run locally. match input.cmd { - CargoCommand::Run => { - true - } + CargoCommand::Run => true, CargoCommand::Test if !input.cargo_opts.contains(&"--no-run".to_string()) => { input.cargo_opts.push("--no-run".to_string()); true } - _ => false + _ => false, } }