Skip to content

Commit b76a217

Browse files
committed
Merge branch 'Nodeigi-fix/107'
2 parents 061e65e + ee2b1cd commit b76a217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ where
1212
let mut in_quotes = false;
1313
let mut idx = 0;
1414
for ch in line.chars() {
15-
idx += 1;
15+
idx += ch.len_utf8();
1616
match ch {
1717
'"' => {
1818
if let Some(start_idx) = start {

0 commit comments

Comments
 (0)