mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 17:54:20 +01:00
make eat_assert faster
This commit is contained in:
@@ -43,7 +43,7 @@ macro_rules! peek_expect {
|
||||
macro_rules! eat_assert {
|
||||
( $parser:expr, $( $x:ident ),* $(,)?) => {
|
||||
{
|
||||
let token = $parser.eat_no_eof()?;
|
||||
let token = $parser.eat().unwrap().unwrap();
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
match token.token_type.unwrap() {
|
||||
|
||||
Reference in New Issue
Block a user