From d6f4193c3ffcc8f2955a8bde91c146f0594b2304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Mon, 22 Jul 2024 17:00:59 +0200 Subject: [PATCH] Fix clippy issues --- src/bolt/instrument.rs | 2 +- src/bolt/optimize.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bolt/instrument.rs b/src/bolt/instrument.rs index 5f14497..b031e8c 100644 --- a/src/bolt/instrument.rs +++ b/src/bolt/instrument.rs @@ -78,7 +78,7 @@ pub fn bolt_instrument(ctx: CargoContext, args: BoltInstrumentArgs) -> anyhow::R "{} {} instrumented successfully. Now run {} on your workload.", capitalize(get_artifact_kind(&artifact)).yellow(), artifact.target.name.blue(), - cli_format_path(&instrumented_path.display()) + cli_format_path(instrumented_path.display()) ); } } diff --git a/src/bolt/optimize.rs b/src/bolt/optimize.rs index ce4d8d4..61ef322 100644 --- a/src/bolt/optimize.rs +++ b/src/bolt/optimize.rs @@ -77,7 +77,7 @@ The optimization will probably not be very effective.", "{} {} successfully optimized with BOLT. You can find it at {}.", capitalize(get_artifact_kind(&artifact)).yellow(), artifact.target.name.blue(), - cli_format_path(&optimized_path.display()) + cli_format_path(optimized_path.display()) ); } }