mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +00:00
csplit: remove explicit "into_iter()"
This commit is contained in:
parent
95cfa94b1b
commit
d40a25db5d
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ where
|
|||
I: Iterator<Item = (usize, io::Result<String>)>,
|
||||
{
|
||||
// split the file based on patterns
|
||||
for pattern in patterns.into_iter() {
|
||||
for pattern in patterns {
|
||||
let pattern_as_str = pattern.to_string();
|
||||
let is_skip = matches!(pattern, patterns::Pattern::SkipToMatch(_, _, _));
|
||||
match pattern {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue