Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless use prefix #2106

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Conversation

Rustin170506
Copy link
Contributor

Motivation

We already use it at the beginning. So we do not need to use the prefix to import it.

https://github.com/hi-rustin/axum/blob/d8389f9d347024d1e1392ac44545fe248093df5b/axum/src/serve.rs#L88

Solution

Remove the useless prefix.

Signed-off-by: hi-rustin <[email protected]>
@davidpdrsn davidpdrsn merged commit 7093cee into tokio-rs:main Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants