Skip to content

Commit

Permalink
Merge pull request #233 from bp7968h/bp7968h-panic-fix
Browse files Browse the repository at this point in the history
fix: small bug fix in the initial code
  • Loading branch information
matklad authored Nov 26, 2024
2 parents 29ba716 + d54bc7e commit 2695ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ fn infix_binding_power(op: char) -> (u8, u8) {
match op {
'+' | '-' => (1, 2),
'*' | '/' => (3, 4),
_ => panic!("bad op: {:?}")
_ => panic!("bad op: {:?}", op)
}
}
```
Expand Down

0 comments on commit 2695ba8

Please sign in to comment.