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

Opt-in to clippy suggestion to inline format! args #133

Merged
merged 6 commits into from
Jul 22, 2023

Conversation

tchajed
Copy link
Collaborator

@tchajed tchajed commented Jul 21, 2023

Suggests changing format!("hello {}", name) to format!("hello {name}") for example. cargo clippy --fix can apply these suggestions automatically.

Suggests changing `format!("hello {}", name)` to `format!("hello
{name}")` for example. `cargo clippy --fix` can apply these suggestions
automatically.

Signed-off-by: Tej Chajed <[email protected]>
Signed-off-by: Tej Chajed <[email protected]>
Signed-off-by: Tej Chajed <[email protected]>
Signed-off-by: Tej Chajed <[email protected]>
@tchajed tchajed force-pushed the tchajed/clippy-inline-format-args branch from 6a2907b to a746e72 Compare July 22, 2023 17:46
Signed-off-by: Tej Chajed <[email protected]>
@tchajed tchajed merged commit 64cfa54 into main Jul 22, 2023
2 checks passed
@tchajed tchajed deleted the tchajed/clippy-inline-format-args branch July 22, 2023 19:46
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.

1 participant