correct failing character match in compare_pstr_to_string (#397)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user