mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 11:18:05 +02:00
fix: inefficient select with large row number (#15730)
Fixes #15716 # Description Returns None early if the input iterator is depleted. # User-Facing Changes Should be none # Tests + Formatting +1 # After Submitting
This commit is contained in:
@ -310,7 +310,7 @@ impl Iterator for NthIterator {
|
||||
return self.input.next();
|
||||
} else {
|
||||
self.current += 1;
|
||||
let _ = self.input.next();
|
||||
let _ = self.input.next()?;
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user