pub fn longest_common_prefix<'a>(s1: &'a str, s2: &'a str) -> &'a strExpand description
Compute the longest common prefix of s1 and s2. Pure, used by
tab_completion_target and exposed for tests.
pub fn longest_common_prefix<'a>(s1: &'a str, s2: &'a str) -> &'a strCompute the longest common prefix of s1 and s2. Pure, used by
tab_completion_target and exposed for tests.