Remove useless use prefix (#2106)

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
二手掉包工程师 2023-07-19 15:34:29 +08:00 committed by GitHub
parent d42b5f70cc
commit 7093cee0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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