Function ra_ap_ide_db::imports::merge_imports::common_prefix

source ·
pub fn common_prefix(lhs: &Path, rhs: &Path) -> Option<(Path, Path)>
Expand description

Traverses both paths until they differ, returning the common prefix of both.