commit 5cb42bfc0f932ea8382199e5cff9e217975e7664 parent f429492afe605d05b43aad2ba6fe9bc499a989f9 Author: alex wennerberg <alex@alexwennerberg.com> Date: Sat, 8 Jan 2022 21:34:20 -0800 fix warning Diffstat:
M | src/lib.rs | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib.rs b/src/lib.rs @@ -139,9 +139,9 @@ impl<'a> Iterator for EnrichedTextParser<'a> { } return self.next(); } - if (self.cursor + 1 < self.data.len() + if self.cursor + 1 < self.data.len() && self.data[self.cursor] == b'<' - && self.data[self.cursor + 1] == b'<') + && self.data[self.cursor + 1] == b'<' { self.cursor += 2; }