mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
add cargo clippy to CI
This commit is contained in:
parent
2232aa8083
commit
ca70d2c914
12 changed files with 98 additions and 93 deletions
|
@ -29,8 +29,8 @@ subcommand_invocation! {
|
|||
let mut t = Table::new();
|
||||
t.set_format(table::format());
|
||||
t.set_titles(row![b->"id", b->"description"]);
|
||||
for i in 1..working_set.len() {
|
||||
if let Some(ref task) = working_set[i] {
|
||||
for (i, item) in working_set.iter().enumerate() {
|
||||
if let Some(ref task) = item {
|
||||
t.add_row(row![i, task.get_description()]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue