From cfa00871284597b3b5ce4844c6be873e05898ddb Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Mon, 15 Apr 2024 20:54:27 +0100 Subject: [PATCH] remove no-op if statement (clippy::needless_if) --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e51cbfc..ab6ae8c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1181,7 +1181,6 @@ impl App { .and_then(|profile_id| self.config.profiles.get(&profile_id)) { Some(profile) => { - if !profile.tab_title.is_empty() {} let mut shell = None; if let Some(mut args) = shlex::split(&profile.command) { if !args.is_empty() {