Function analiticcl::distance::common_prefix_length
source · pub fn common_prefix_length(s1: &[CharIndexType], s2: &[CharIndexType]) -> u16
Expand description
Computes if the strings share a common prefix, and if so, how long it is