pub fn first_match<'a>(&self, mut tasks: impl Iterator<Item = &'a str>) -> Option<&'a str> {
        tasks.find(|task| self.matches.contains(*task))
    }
Given an iterator it returns the first task that is in the search
results
crates/turborepo-ui/src/tui/search.rs