Skip to content

Commit

Permalink
Remove useless use prefix
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Jul 19, 2023
1 parent d42b5f7 commit d8389f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum/src/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit d8389f9

Please sign in to comment.