/// Check equality versus another TokenStream, ignoring span information.
Check equality versus another TokenStream, ignoring span information.
Check equality versus another TokenStream ignoring span information .
pub fn eq_unspanned(&self, other: &TokenSlice) -> bool {
        if self.len() != other.len() {
            return false;
        }
        for (tt1, tt2) in self.iter().zip(other.iter()) {
            if !tt1.eq_unspanned(tt2) {
                return false;
            }
        }
        true
    }
pub fn eq_unspanned ( & self , other : & TokenSlice ) -> bool { if self . len ( ) != other . len ( ) { return false ; } for ( tt1 , tt2 ) in self . iter ( ) . zip ( other . iter ( ) ) { if ! tt1 . eq_unspanned ( tt2 ) { return false ; } } true }
Check equality versus another TokenStream, ignoring span information.
Check equality versus another TokenStream ignoring span information .
&self
other
&TokenSlice