Function rustyline::completion::longest_common_prefix

source ยท
pub fn longest_common_prefix<C: Candidate>(candidates: &[C]) -> Option<&str>
Expand description

Returns the longest common prefix among all Candidate::replacement()s.