Skip to content

Commit

Permalink
docs: finish comment
Browse files Browse the repository at this point in the history
??
  • Loading branch information
LeoDog896 committed Jul 25, 2024
1 parent d411703 commit 2244467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logos-codegen/src/graph/regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl<Leaf: Disambiguate + Debug> Graph<Leaf> {
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<Range> = Vec::with_capacity(concat.len() * 4);
let mut then = then;

Expand Down

0 comments on commit 2244467

Please sign in to comment.