1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 04:27:45 +00:00

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; let match_pos = self.position + match_idx;
self.haystack = &self.haystack[skip..]; self.haystack = &self.haystack[skip..];
self.position += skip; self.position += skip;
return Some((match_pos, self.position)); Some((match_pos, self.position))
} else { } else {
return None; None
} }
} }
} }