mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
Merge pull request #5109 from cakebaker/csplit_remove_into_iter
csplit: remove explicit "into_iter()"
This commit is contained in:
commit
15b3bf69a3
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