fn shared_prefix_len(&self, other: &Self, max_len: usize) -> usize {
		let max_len = min(max_len, Self::len());
		for i in 0..max_len {
			if self.get(i) != other.get(i) {
				return i;
			}
		}
		max_len
	}
/// Length of the longest shared prefix of two bit strings.
Length of the longest shared prefix of two bit strings.
Length of the longest shared prefix of two bit strings .
fn shared_prefix_len(&self, other: &Self, max_len: usize) -> usize {
		let max_len = min(max_len, Self::len());
		for i in 0..max_len {
			if self.get(i) != other.get(i) {
				return i;
			}
		}
		max_len
	}
fn shared_prefix_len ( & self , other : & Self , max_len : usize ) -> usize { let max_len = min ( max_len , Self :: len ( ) ) ; for i in 0 .. max_len { if self . get ( i ) != other . get ( i ) { return i ; } } max_len }
Length of the longest shared prefix of two bit strings.
Length of the longest shared prefix of two bit strings .
&self
other
&Self
max_len
usize