fn union(&mut self, fst: Handle, snd: Handle) {
        debug_assert!(fst != snd, "cannot union self with itself");

        if self.node(fst).entry.key < self.node(snd).entry.key {
            self.link(fst, snd)
        } else {
            self.link(snd, fst)
        }
    }
/// Links the element with the lower key over the element with the higher key.
/// Thus making one the child of the other.
Links the element with the lower key over the element with the higher key.
Thus making one the child of the other.
Links the element with the lower key over the element with the higher key . Thus making one the child of the other .
fn union(&mut self, fst: Handle, snd: Handle) {
        debug_assert!(fst != snd, "cannot union self with itself");
        if self.node(fst).entry.key < self.node(snd).entry.key {
            self.link(fst, snd)
        } else {
            self.link(snd, fst)
        }
    }
fn union ( & mut self , fst : Handle , snd : Handle ) { debug_assert ! ( fst snd " " ) ; if self . node ( fst ) . entry . key < self . node ( snd ) . entry . key { self . link ( fst , snd ) } else { self . link ( snd , fst ) } }
Links the element with the lower key over the element with the higher key.
Links the element with the lower key over the element with the higher key .
&mut self
fst
Handle
snd
Handle
&mut self
fst
Handle
snd
Handle