mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 05:20:46 +00:00
Remove useless use prefix (#2106)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
d42b5f70cc
commit
7093cee0ac
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user