From 714c5fb81eab92adf9baa9d2b61b43511e48eebd Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Sun, 30 May 2021 14:58:50 +0200 Subject: [PATCH] renderer: remove redundant clone in CmdRenderer As suggested by clippy: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone --- src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 05a5ac6f..9d2952c1 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -166,7 +166,7 @@ impl CmdRenderer { } else { // Let this bubble through to later be handled by // handle_render_command_error. - abs_exe.to_path_buf() + abs_exe } } };