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

@@ -29,7 +29,7 @@ fn test_stack_overflow_fn_calls() -> Result<(), Box<EvalAltResult>> {
max + 1
))
.expect_err("should error"),
EvalAltResult::ErrorStackOverflow(_)
EvalAltResult::ErrorStackOverflow(..)
));
Ok(())