mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix clippy complaint
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user