mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
macros: use qualified syntax when polling in select! (#4192)
This commit is contained in:
@@ -502,7 +502,7 @@ macro_rules! select {
|
|||||||
let mut fut = unsafe { Pin::new_unchecked(fut) };
|
let mut fut = unsafe { Pin::new_unchecked(fut) };
|
||||||
|
|
||||||
// Try polling it
|
// Try polling it
|
||||||
let out = match fut.poll(cx) {
|
let out = match Future::poll(fut, cx) {
|
||||||
Ready(out) => out,
|
Ready(out) => out,
|
||||||
Pending => {
|
Pending => {
|
||||||
// Track that at least one future is
|
// Track that at least one future is
|
||||||
|
|||||||
Reference in New Issue
Block a user