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 clippy warnings #614

Merged
merged 2 commits into from
Jan 12, 2023
Merged

Fix clippy warnings #614

merged 2 commits into from
Jan 12, 2023

Conversation

jfecher
Copy link
Contributor

@jfecher jfecher commented Jan 4, 2023

Description

Summary of changes

Clippy recently added a new warning suggesting to change println!("foo {} baz", bar) to println!("foo {bar} baz"). The first style was used pervasively throughout our codebase so there were many changes required, most of which were automated with cargo clippy --fix.

The codebase now checks without warnings on clippy 1.68.0-nightly.

Alternatives

Alternatively, we can disable this lint in a toml file... somewhere.

kevaundray
kevaundray previously approved these changes Jan 10, 2023
@kevaundray kevaundray merged commit c82f0dc into master Jan 12, 2023
@kevaundray kevaundray deleted the jf/fix-clippy branch January 12, 2023 23:41
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