cleanup failures for existing tests

This commit is contained in:
Henry Schimke
2023-04-03 16:08:15 -05:00
parent 169db55a82
commit 44e2d52599
2 changed files with 8 additions and 3 deletions

View File

@@ -117,8 +117,8 @@ impl<'a> PatternView<'_> {
}
pub fn end(&self) -> Option<PatternType> {
if self.start + self.count < self.data.0.len() {
Some(self.data.0[self.start + self.count])
}else {
Some(self.data.0[self.start + self.count])
} else {
None
}
}