macros: use qualified syntax when polling in select! (#4192)

This commit is contained in:
Ibraheem Ahmed 2021-10-25 10:54:34 -04:00 committed by GitHub
parent e04b5be1f5
commit e7d3e0c93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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