rustyline::completion

Function longest_common_prefix

Source
pub fn longest_common_prefix<C: Candidate>(candidates: &[C]) -> Option<&str>