Clippy lints

This commit is contained in:
Henrik Tjäder 2021-12-25 13:17:16 +01:00
parent c78177c37e
commit c297b4ee8d
7 changed files with 16 additions and 8 deletions

View file

@ -107,7 +107,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 {
.map(|(_, monotonic)| {
let name = &monotonic.ident;
let name_str = &name.to_string();
let ident = util::monotonic_ident(&name_str);
let ident = util::monotonic_ident(name_str);
let doc = &format!(
"This module holds the static implementation for `{}::now()`",
name_str