From 84ac10371bd77a97327740ea9e198976460209ba Mon Sep 17 00:00:00 2001 From: Steve Cook Date: Thu, 21 Jul 2022 02:35:46 -0400 Subject: [PATCH] Cargo fmt --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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, } }