mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +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…
Reference in a new issue