mirror of
https://github.com/uutils/coreutils
synced 2025-01-19 00:24:13 +00:00
fix clippy complaint
This commit is contained in:
parent
11e64958d6
commit
5867a47f21
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue