Skip to content

Conversation

@GnomedDev
Copy link
Member

Just some simple warnings added to nightly clippy recently.

@github-actions github-actions bot added client Related to the `client` module. gateway Related to the `gateway` module. labels Oct 11, 2025
@GnomedDev GnomedDev changed the title Fix clippy warnings on currnet Fix clippy warnings on current Oct 11, 2025
@KiloOscarSix KiloOscarSix mentioned this pull request Oct 28, 2025
Comment on lines +24 to 25
#[allow(clippy::double_parens)]
drop(( $($context,)? $($arg_name),* ))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[allow(clippy::double_parens)]
drop(( $($context,)? $($arg_name),* ))
drop(( $($context,)? $($arg_name,)* ))

This way the macro will produce 1-tuples instead of parenthesized single values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Related to the `client` module. gateway Related to the `gateway` module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants