Function ide_db::imports::merge_imports::try_merge_trees

source ยท
pub fn try_merge_trees(
    lhs: &UseTree,
    rhs: &UseTree,
    merge: MergeBehavior,
) -> Option<UseTree>
Expand description

Merge rhs into lhs keeping both intact. Returned AST is mutable.