fix clippy warning about redundant clone

This commit is contained in:
Eric Seppanen
2021-05-03 20:55:52 -07:00
parent aac913f9dc
commit aa64391265

View File

@@ -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() {