correct failing character match in compare_pstr_to_string (#397)

This commit is contained in:
Mark Thom
2020-05-01 10:29:10 -06:00
parent 847a92f580
commit 1b7c226779

View File

@@ -277,7 +277,7 @@ fn compare_pstr_to_string<'a>(
s_offset += c1.len_utf8();
}
} else {
return None;
return Some(s_offset);
}
}
PStrIteratee::PStrSegment(h, n) => {