Skip to content

Commit

Permalink
Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed May 31, 2022
1 parent 862bc9d commit 1f1e522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ where
// will be polled out from the error stream.
// As `TryFlattenUnordered` won't poll the base stream again unless waker will be called explicitly, we can be
// sure that by returning `Poll::Pending` we exclude the ability to poll the base stream before the error will reach the caller.
if out.as_ref().map_or(false, |opt| matches!(opt, Either::Right(_))) {
if out.as_ref().map_or(false, |item| matches!(item, Either::Right(_))) {
*this.last_item_is_error = true;
}

Expand Down

0 comments on commit 1f1e522

Please sign in to comment.