From 2244467f292ed15cd312d2bbcf1867fd7a0244fa Mon Sep 17 00:00:00 2001 From: Tristan F Date: Thu, 25 Jul 2024 10:59:36 -0400 Subject: [PATCH] docs: finish comment ?? --- logos-codegen/src/graph/regex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logos-codegen/src/graph/regex.rs b/logos-codegen/src/graph/regex.rs index ce58cbe2..d55c490f 100644 --- a/logos-codegen/src/graph/regex.rs +++ b/logos-codegen/src/graph/regex.rs @@ -72,7 +72,7 @@ impl Graph { Mir::Concat(concat) => { // Take an initial guess at the capacity - estimates a little worse than an average case // scenario by assuming every concat element is singular but has a full code-point unicode literal. - // The only way to get the actual size of the Vec is if + // The only way to get the actual size of the Vec is if every sub-concat node is added up. let mut ropebuf: Vec = Vec::with_capacity(concat.len() * 4); let mut then = then;