Function todo_lib::todo::undone [−][src]
pub fn undone(tasks: &mut TaskVec, ids: Option<&IDVec>) -> ChangedVec
Expand description
Removes flag done
from todos.
tasks
- the task listids
- the list of todo IDs which should be undone. If it isNone
the entire task list is marked undone.
Returns a list of boolean values: a value per each ID in ids
or tasks
.
The length of the result list equals either length of ids
(if ids
is
Some
) or length of tasks
(if ids
is None
). Value true
in this
array means that corresponding item from ids
or tasks
was modified.