Run cargo clippy

This commit is contained in:
Dheepak Krishnamurthy 2021-02-11 01:47:10 -07:00
parent 4909e0df33
commit e49d4c8039
2 changed files with 2 additions and 3 deletions

View file

@ -1300,8 +1300,7 @@ impl TTApp {
.tags() .tags()
.unwrap() .unwrap()
.iter() .iter()
.find(|s| !self.task_report_table.virtual_tags.contains(s)) .any(|s| !self.task_report_table.virtual_tags.contains(s))
.is_some()
{ {
add_tag(&mut task, "TAGGED".to_string()); add_tag(&mut task, "TAGGED".to_string());
} }

View file

@ -261,7 +261,7 @@ impl TaskReportTable {
if d != *task.description() { if d != *task.description() {
d = format!("{}", d); d = format!("{}", d);
} }
d.to_string() d
} }
"description" => task.description().to_string(), "description" => task.description().to_string(),
"urgency" => match &task.urgency() { "urgency" => match &task.urgency() {