summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSavagePeanut <sourcehut@lazytapir.com>2024-07-29 13:40:13 -0500
committerSavagePeanut <sourcehut@lazytapir.com>2024-07-29 13:40:13 -0500
commit50d8092257b577db73fd81841741b71da8adf404 (patch)
treeebdee328e403d310ac04bf854c44fb0233de61e0 /src
parent57ded2c0151bdf9c71da2073d83ac3021d56f6c8 (diff)
minor optimisation
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs2
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 => ()
}