Skip to content

Commit

Permalink
Removed unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Feb 17, 2020
1 parent 3bbfefe commit 4b94925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions futures-util/src/stream/stream/flat_map_unordered.rs
Expand Up @@ -347,8 +347,8 @@ where

if poll_state_value & NEED_TO_POLL != NONE
&& (polling_with_two_wakers
|| (poll_state_value & NEED_TO_POLL_FUTURES != NONE && !futures_will_be_woken
|| poll_state_value & NEED_TO_POLL_STREAM != NONE && !stream_will_be_woken))
|| poll_state_value & NEED_TO_POLL_FUTURES != NONE && !futures_will_be_woken
|| poll_state_value & NEED_TO_POLL_STREAM != NONE && !stream_will_be_woken)
{
ctx.waker().wake_by_ref();
}
Expand Down

0 comments on commit 4b94925

Please sign in to comment.