Skip to content

Commit c48499e

Browse files
author
Devdutt Shenoi
committed
clippy suggestion
1 parent 3cd83ef commit c48499e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parseable/staging/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Iterator for ReverseReader {
5858
type Item = Result<RecordBatch, ArrowError>;
5959

6060
fn next(&mut self) -> Option<Self::Item> {
61-
if self.idx <= 0 {
61+
if self.idx == 0 {
6262
return None;
6363
}
6464

0 commit comments

Comments
 (0)