Skip to content

Commit

Permalink
chore(ci): dump collected output
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Apr 13, 2024
1 parent 3e2c8c9 commit 02f2c4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/origlang-compiler/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub enum TokenKind {
}

impl TokenKind {
fn only(token: Token) -> Self {
fn only(token: &Token) -> Self {
Self::Only(token.display())
}
}
Expand Down Expand Up @@ -742,7 +742,7 @@ impl Parser<'_> {
Ok(token)
} else {
Err(ParserError::new(ParserErrorInner::UnexpectedToken {
pat: TokenKind::only(token),
pat: TokenKind::only(&token),
unmatch: peek.data
}, peek.position))
}
Expand Down

0 comments on commit 02f2c4d

Please sign in to comment.