Use .. for (_).

This commit is contained in:
Stephen Chung
2022-02-08 09:46:14 +08:00
parent 97a8fd3d5b
commit 7686ca619a
24 changed files with 155 additions and 149 deletions

View File

@@ -249,7 +249,7 @@ fn test_internal_fn_bang() -> Result<(), Box<EvalAltResult>> {
)
.expect_err("should error")
.0,
ParseErrorType::MalformedCapture(_)
ParseErrorType::MalformedCapture(..)
));
Ok(())