ide_db::imports::merge_imports

Function try_merge_imports

source
pub fn try_merge_imports(
    lhs: &Use,
    rhs: &Use,
    merge_behavior: MergeBehavior,
) -> Option<Use>
Expand description

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