aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-22 17:16:38 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-22 17:16:38 +0200
commitb945e43103544fc31a0755841b380358b2c161e6 (patch)
tree80c6091c4268e6fec5cce02a08cdf6fa2b434300 /tests
parent41fc406af206e21014eaaba94bcf6b1854f892b3 (diff)
downloadmarkdown-rs-b945e43103544fc31a0755841b380358b2c161e6.tar.gz
markdown-rs-b945e43103544fc31a0755841b380358b2c161e6.tar.bz2
markdown-rs-b945e43103544fc31a0755841b380358b2c161e6.zip
Refactor to remove unneeded tuples in every states
Diffstat (limited to 'tests')
-rw-r--r--tests/misc_url.rs2
1 files changed, 1 insertions, 1 deletions
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<char> = vec![];
+ let mut ascii = Vec::with_capacity(129);
let mut code = 0;
while code < 128 {