From aa643912659525df8006d3b4c4faedb19d6365cd Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Mon, 3 May 2021 20:55:52 -0700 Subject: [PATCH] fix clippy warning about redundant clone --- control_plane/src/local_env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control_plane/src/local_env.rs b/control_plane/src/local_env.rs index d983c3be95..16148101b2 100644 --- a/control_plane/src/local_env.rs +++ b/control_plane/src/local_env.rs @@ -74,7 +74,7 @@ pub fn init() -> Result<()> { postgres_bin.into() } else { let cwd = env::current_dir()?; - cwd.join("tmp_install").to_owned() + cwd.join("tmp_install") } }; if !pg_distrib_dir.join("bin/postgres").exists() {