pub fn matching<'a>(all: &'a [String], typed: &str) -> Vec<&'a str>
The candidates that start with typed, ignoring case.
typed