mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 03:07:18 +02:00
Run cargo clippy
This commit is contained in:
parent
4909e0df33
commit
e49d4c8039
2 changed files with 2 additions and 3 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue