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

This commit is contained in:
Ibraheem Ahmed
2021-10-25 23:54:34 +09:00
committed by GitHub
parent e04b5be1f5
commit e7d3e0c93c
+1 -1
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