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:
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;
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue