fix clippy complaint

This commit is contained in:
TechHara 2022-12-13 11:49:26 -05:00
parent 11e64958d6
commit 5867a47f21

View file

@ -35,9 +35,9 @@ impl<'a> Iterator for WhitespaceSearcher<'a> {
let match_pos = self.position + match_idx;
self.haystack = &self.haystack[skip..];
self.position += skip;
return Some((match_pos, self.position));
Some((match_pos, self.position))
} else {
return None;
None
}
}
}