Skip to content

Commit 8842e9d

Browse files
committed
simplify TryReduceFolder::full
1 parent 1257f47 commit 8842e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iter/try_reduce.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ impl<'r, R, T> Folder<T> for TryReduceFolder<'r, R, T>
119119
}
120120

121121
fn full(&self) -> bool {
122-
self.result.is_err() || self.full.load(Ordering::Relaxed)
122+
self.full.load(Ordering::Relaxed)
123123
}
124124
}

0 commit comments

Comments
 (0)