Skip to main content

completion

Function completion 

Source
pub fn completion<'a>(candidates: &[&'a str], typed: &str) -> Option<&'a str>
Expand description

What completing typed yields: the candidate after the one typed in full, else the first.