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

axum: fix new formatting string clippy lint #3162

Merged
merged 1 commit into from
Jan 8, 2025
Merged

axum: fix new formatting string clippy lint #3162

merged 1 commit into from
Jan 8, 2025

Conversation

mladedav
Copy link
Collaborator

@mladedav mladedav commented Jan 8, 2025

Motivation

New default clippy lint warns about static strings which seem to be formatting strings when variables with the same name are in scope. See example of failed pipeline here.

Solution

Rename two variables so that the lint is not triggered.

@Turbo87 Turbo87 merged commit b5236ea into main Jan 8, 2025
18 checks passed
@Turbo87 Turbo87 deleted the dm/fix-clippy branch January 8, 2025 19:03
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