Function jj_lib::merge::trivial_merge

source ·
pub fn trivial_merge<'a, T>(removes: &'a [T], adds: &'a [T]) -> Option<&'a T>
where T: Eq + Hash,
Expand description

Attempt to resolve trivial conflicts between the inputs. There must be exactly one more adds than removes.