From 7093cee0ace5c3cb81ab6f970ae6ff0e966643ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=89=8B=E6=8E=89=E5=8C=85=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=B8=88?= Date: Wed, 19 Jul 2023 15:34:29 +0800 Subject: [PATCH] Remove useless use prefix (#2106) Signed-off-by: hi-rustin --- axum/src/serve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/serve.rs b/axum/src/serve.rs index 76058da1..fa5f2f71 100644 --- a/axum/src/serve.rs +++ b/axum/src/serve.rs @@ -112,7 +112,7 @@ where // // services like `Router` are always ready, so assume the service // we're running here is also always ready... - match futures_util::future::poll_fn(|cx| service.poll_ready(cx)).now_or_never() { + match poll_fn(|cx| service.poll_ready(cx)).now_or_never() { Some(Ok(())) => {} Some(Err(err)) => match err {}, None => {