Skip to main content

find_task

Function find_task 

Source
pub(super) fn find_task<'a>(
    s: &Session,
    tasks: &'a [Task],
    wanted: &str,
) -> Result<&'a Task, String>
Expand description

A task by UID, else by the start of its title, else by a word of it; one only.