Remove redundant dereferences

This commit is contained in:
Roey Darwish Dror
2021-09-02 07:27:09 +03:00
parent bde3600b9a
commit a39b4f846c
7 changed files with 13 additions and 14 deletions

View File

@@ -110,7 +110,7 @@ pub fn run_in_tmux(args: &Option<String>) -> ! {
pub fn run_command(ctx: &ExecutionContext, command: &str) -> Result<()> {
Tmux::new(ctx.config().tmux_arguments())
.build()
.args(&["new-window", "-a", "-t", "topgrade:1", &command])
.args(&["new-window", "-a", "-t", "topgrade:1", command])
.env_remove("TMUX")
.spawn()?
.wait()?