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

silence clippy #5

Open
hoodie opened this issue Nov 22, 2017 · 0 comments
Open

silence clippy #5

hoodie opened this issue Nov 22, 2017 · 0 comments

Comments

@hoodie
Copy link

hoodie commented Nov 22, 2017

Hi there,
when I clippy my code the generated localize_macros.rs may contain a bunch of what clippy would consider useless_formats. Perhaps the generated file could include something like #![allow(unknown_lints, useless_format)].

Or perhaps if the string literal does not contain any {}, it could be replaced by something like String::from. What do you think?

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

No branches or pull requests

1 participant