mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-30 08:30:33 +02:00
Fix typo in expect message (#2420)
This commit is contained in:
parent
1c3e4648e4
commit
dcdf3915ec
@ -194,7 +194,7 @@ fn parse(input: &str) -> Expression {
|
||||
};
|
||||
let expr = match tok {
|
||||
Token::Number(num) => {
|
||||
let v = num.parse().expect("Invalid 32-bit integer'");
|
||||
let v = num.parse().expect("Invalid 32-bit integer");
|
||||
Expression::Number(v)
|
||||
}
|
||||
Token::Identifier(ident) => Expression::Var(ident),
|
||||
|
Loading…
x
Reference in New Issue
Block a user