diff options
author | 2021-12-25 13:17:16 +0100 | |
---|---|---|
committer | 2021-12-25 13:17:16 +0100 | |
commit | c297b4ee8d619d903b1b1673e47a8df25637d01b (patch) | |
tree | 8845460c0caa37e4d60b60c09c0ca5a3fdcc5df4 /macros/src/codegen.rs | |
parent | c78177c37e3192c7a41a3ea8e7c139751c1a8989 (diff) | |
download | rtic-c297b4ee8d619d903b1b1673e47a8df25637d01b.tar.gz rtic-c297b4ee8d619d903b1b1673e47a8df25637d01b.tar.zst rtic-c297b4ee8d619d903b1b1673e47a8df25637d01b.zip |
Clippy lints
Diffstat (limited to 'macros/src/codegen.rs')
-rw-r--r-- | macros/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index 422de5f3..10050843 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -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 |