Use .. for (_).
This commit is contained in:
@@ -48,7 +48,7 @@ fn test_closures() -> Result<(), Box<EvalAltResult>> {
|
||||
.compile_expression("let f = |x| {};")
|
||||
.expect_err("should error")
|
||||
.0,
|
||||
ParseErrorType::BadInput(_)
|
||||
ParseErrorType::BadInput(..)
|
||||
));
|
||||
|
||||
assert_eq!(
|
||||
|
Reference in New Issue
Block a user