feat: clippy

This commit is contained in:
Dheepak Krishnamurthy 2023-08-25 00:52:54 -04:00
parent 73c7eee3b6
commit a5ff27012d

View file

@ -3539,7 +3539,7 @@ impl TaskwarriorTui {
};
if let Mode::Tasks(Action::Modify | Action::Filter | Action::Annotate | Action::Add | Action::Log) = self.mode {
for s in vec![
for s in [
"project:".to_string(),
"priority:".to_string(),
"due:".to_string(),
@ -3552,7 +3552,7 @@ impl TaskwarriorTui {
}
if let Mode::Tasks(Action::Modify | Action::Filter | Action::Annotate | Action::Add | Action::Log) = self.mode {
for s in vec![
for s in [
".before:",
".under:",
".below:",