mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +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) };
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user