fn check_keyword(&mut self, keyword: &str) -> bool {
        if let Some(TokenTree::Ident(ident)) = self.tokens.front() {
            if ident.to_string() == keyword {
                self.pop();
                return true;
            }
        }
        false
    }
/// Check if the input starts with the keyword and if yes consume it.
Check if the input starts with the keyword and if yes consume it.
Check if the input starts with the keyword and if yes consume it .
fn check_keyword(&mut self, keyword: &str) -> bool {
        if let Some(TokenTree::Ident(ident)) = self.tokens.front() {
            if ident.to_string() == keyword {
                self.pop();
                return true;
            }
        }
        false
    }
fn check_keyword ( & mut self , keyword : & str ) -> bool { if let Some ( TokenTree :: Ident ( ident ) ) = self . tokens . front ( ) { if ident . to_string ( ) == keyword { self . pop ( ) ; return true ; } } false }
Check if the input starts with the keyword and if yes consume it.
Check if the input starts with the keyword and if yes consume it .
&mut self
keyword
&str