fn shared_prefix_len(&self, other: &Self) -> usize {
		let max_len = min(self.len(), other.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) -> usize {
		let max_len = min(self.len(), other.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 ) -> usize { let max_len = min ( self . len ( ) , other . 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