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

replace return <expr>; with <expr> [needless_return] #251

Open
dr-kernel opened this issue May 8, 2024 · 1 comment
Open

replace return <expr>; with <expr> [needless_return] #251

dr-kernel opened this issue May 8, 2024 · 1 comment

Comments

@dr-kernel
Copy link

When using tokio::test I'm getting
replace return <expr>; with <expr> [needless_return]
clippy warning.
Not a huge deal, but would be nice to not see it in all of my async tests.

rstest = 0.19
tokio = 1.37

Thanks!

@la10736
Copy link
Owner

la10736 commented May 9, 2024

What's about if you use just tokio?
Anyway, can you just post a simple example?

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

No branches or pull requests

2 participants