mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +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
|
||||
// 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…
Reference in a new issue