Skip to content

Commit ce4470d

Browse files
committed
renderer: remove redundant clone in CmdRenderer
As suggested by clippy: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
1 parent f5d0f3c commit ce4470d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl CmdRenderer {
166166
} else {
167167
// Let this bubble through to later be handled by
168168
// handle_render_command_error.
169-
abs_exe.to_path_buf()
169+
abs_exe
170170
}
171171
}
172172
};

0 commit comments

Comments
 (0)