mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
macros: use qualified syntax when polling in select!
(#4192)
This commit is contained in:
parent
e04b5be1f5
commit
e7d3e0c93c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user