diff options
| author | SavagePeanut <sourcehut@lazytapir.com> | 2024-07-29 13:40:13 -0500 |
|---|---|---|
| committer | SavagePeanut <sourcehut@lazytapir.com> | 2024-07-29 13:40:13 -0500 |
| commit | 50d8092257b577db73fd81841741b71da8adf404 (patch) | |
| tree | ebdee328e403d310ac04bf854c44fb0233de61e0 | |
| parent | 57ded2c0151bdf9c71da2073d83ac3021d56f6c8 (diff) | |
minor optimisation
| -rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 141aa7d..404bb15 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -95,7 +95,7 @@ pub fn parse_with_limits(chars: &Vec<char>, start: usize, end: usize, depth: usi styles.append(&mut parse_with_limits(chars, index + 1, to - 1, depth)); } } - index = to; + index = to + 1; } None => () } |
