Skip to content

Conversation

@dtolnay
Copy link
Owner

@dtolnay dtolnay commented Oct 1, 2020

The wrapper future-returning function we generate simply forwards all arguments to the async inner function, so we expect it always uses all arguments, including ones that are named with an underscore.

Fixes #129.

@dtolnay dtolnay merged commit 5f3d1cd into master Oct 1, 2020
@dtolnay dtolnay deleted the underscore branch October 1, 2020 11:56
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.

clippy::used_underscore_binding is triggered when using _ in function parameters

2 participants