mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-01 08:56:15 +01:00
Remove useless use prefix (#2106)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
d42b5f70cc
commit
7093cee0ac
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ where
|
||||||
//
|
//
|
||||||
// services like `Router` are always ready, so assume the service
|
// services like `Router` are always ready, so assume the service
|
||||||
// we're running here is also always ready...
|
// 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(Ok(())) => {}
|
||||||
Some(Err(err)) => match err {},
|
Some(Err(err)) => match err {},
|
||||||
None => {
|
None => {
|
||||||
|
|
Loading…
Reference in a new issue