diff --git a/src/ops/cargo_test.rs b/src/ops/cargo_test.rs index 94d9d18494c..ec9f71619e0 100644 --- a/src/ops/cargo_test.rs +++ b/src/ops/cargo_test.rs @@ -306,7 +306,7 @@ fn display_no_run_information( .verbose(|shell| shell.status("Executable", &cmd))?; } - return Ok(()); + Ok(()) } /// Creates a [`ProcessBuilder`] for executing a single test. diff --git a/src/ops/resolve.rs b/src/ops/resolve.rs index 105761243ac..0702aa71d93 100644 --- a/src/ops/resolve.rs +++ b/src/ops/resolve.rs @@ -908,7 +908,7 @@ fn emit_warnings_of_unused_patches( ws.gctx().shell().print_report(&warnings, false)?; } - return Ok(()); + Ok(()) } /// Informs `registry` and `version_pref` that `[patch]` entries are available