fn token_matches(&mut self, query: &str, folding: bool) -> bool {
        let text = &self.input[self.start..self.pos];
        if folding {
            let lower_text = to_lowercase(text);
            &lower_text[..] == query
        } else {
            text == query
        }
    }
/// `token_matches` returns true if the current token matches the given
/// text exactly (case-sensitive), and false otherwise. If the `folding`
/// argument is true, the string is lowercased before comparing.
`token_matches` returns true if the current token matches the given
text exactly (case-sensitive), and false otherwise. If the `folding`
argument is true, the string is lowercased before comparing.
` token_matches ` returns true if the current token matches the given text exactly ( case - sensitive ) and false otherwise . If the ` folding ` argument is true the string is lowercased before comparing .
fn token_matches(&mut self, query: &str, folding: bool) -> bool {
        let text = &self.input[self.start..self.pos];
        if folding {
            let lower_text = to_lowercase(text);
            &lower_text[..] == query
        } else {
            text == query
        }
    }
fn token_matches ( & mut self , query : & str , folding : bool ) -> bool { let text = & self . input [ self . start .. self . pos ] ; if folding { let lower_text = to_lowercase ( text ) ; & lower_text [ .. ] == query } else { text == query } }
`token_matches` returns true if the current token matches the given
text exactly (case-sensitive), and false otherwise.
` token_matches ` returns true if the current token matches the given text exactly ( case - sensitive ) and false otherwise .
&mut self
query
&str
folding
bool