From 386a650e96d1c300816c46ff26c8651bd342e51d Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 30 Aug 2019 01:05:05 -0400 Subject: [PATCH] Use Vec::new over vec![] --- tests/test_infer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_infer.rs b/tests/test_infer.rs index 8090f1e9de..fa8892649b 100644 --- a/tests/test_infer.rs +++ b/tests/test_infer.rs @@ -54,7 +54,7 @@ mod test_infer { let (loc_expr, _, problems, procedures) = canonicalize::canonicalize_declaration(home, name, loc(expr), declared_idents, declared_variants); - assert_eq!(problems, vec![]); + assert_eq!(problems, Vec::new()); (loc_expr.value, procedures) }