Skip to main content

find_matching

Function find_matching 

Source
pub fn find_matching<'a>(
    command: &str,
    patterns: &'a [Pattern],
) -> Option<&'a Pattern>
Expand description

Find the first pattern whose command_match matches command.