From b945e43103544fc31a0755841b380358b2c161e6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 22 Jul 2022 17:16:38 +0200 Subject: Refactor to remove unneeded tuples in every states --- tests/misc_url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc_url.rs') diff --git a/tests/misc_url.rs b/tests/misc_url.rs index 5e94366..027f9bf 100644 --- a/tests/misc_url.rs +++ b/tests/misc_url.rs @@ -117,7 +117,7 @@ fn url() { "should support an emoji" ); - let mut ascii: Vec = vec![]; + let mut ascii = Vec::with_capacity(129); let mut code = 0; while code < 128 { -- cgit