Function triedb::merkle::nibble::common_with_sub[][src]

pub fn common_with_sub<'a, 'b>(
    a: NibbleSlice<'a>,
    b: NibbleSlice<'b>
) -> (NibbleSlice<'a>, NibbleVec, NibbleVec)

Common prefix for two nibbles. Return the sub nibbles.