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.