Skip to content

Commit

Permalink
macros: use qualified syntax when polling in select! (#4192)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev authored Oct 25, 2021
1 parent e04b5be commit e7d3e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/macros/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ macro_rules! select {
let mut fut = unsafe { Pin::new_unchecked(fut) };

// Try polling it
let out = match fut.poll(cx) {
let out = match Future::poll(fut, cx) {
Ready(out) => out,
Pending => {
// Track that at least one future is
Expand Down

0 comments on commit e7d3e0c

Please sign in to comment.