crowbook-intl icon indicating copy to clipboard operation
crowbook-intl copied to clipboard

silence clippy

Open hoodie opened this issue 7 years ago • 0 comments

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?

hoodie avatar Nov 22 '17 16:11 hoodie