Skip to content

Commit

Permalink
fixup! remove redundant clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidj committed Feb 7, 2024
1 parent ec2f336 commit b23a0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn run_server_process(startup_timeout: Option<Duration>) -> Result<ServerStartup
// the parent binding the socket and the child connecting to it.
let listener = {
let _guard = runtime.enter();
tokio::net::UnixListener::bind(&socket_path.clone())?
tokio::net::UnixListener::bind(&socket_path)?
};

let _child = process::Command::new(&exe_path)
Expand Down

0 comments on commit b23a0a5

Please sign in to comment.