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

Fix inspection "Unused must_use" for tokio::main proc macro #10750

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

dima74
Copy link
Member

@dima74 dima74 commented Jul 26, 2023

We don't expand tokio::main async function, so return type of such function was considered as impl Future, though actually tokio::main expands to function returning unit

We don't expand `tokio::main` async function, so return type of such function was considered as `impl Future`, though actually `tokio::main` expands to function returning unit

[skip ci]
@dima74
Copy link
Member Author

dima74 commented Jul 26, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 26, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 6a6cb28 into master Jul 26, 2023
1 check passed
@bors bors bot deleted the diralik/unused-must-use-fix-tokio-main branch July 26, 2023 16:53
@github-actions github-actions bot added this to the v200 milestone Jul 26, 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.

None yet

1 participant