aboutsummaryrefslogtreecommitdiff
path: root/macros/src/metadata.rs
diff options
context:
space:
mode:
authorfigsoda <[email protected]>2021-11-02 02:34:22 +0000
committerfigsoda <[email protected]>2021-11-02 02:34:22 +0000
commit831bd7e91d1f97f565d6ea15d816e638a983ad00 (patch)
treec042af6b11ff77ac462c19f84bff748f210729cc /macros/src/metadata.rs
parent90ea9335b55efb38802a2983a58580b3bc568c5f (diff)
apply clippy lints
Diffstat (limited to 'macros/src/metadata.rs')
-rw-r--r--macros/src/metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/metadata.rs b/macros/src/metadata.rs
index b41eb9c..98e2a72 100644
--- a/macros/src/metadata.rs
+++ b/macros/src/metadata.rs
@@ -156,7 +156,7 @@ impl<'μ> LintMeta<'μ> {
156} 156}
157 157
158pub fn generate_meta_impl(struct_name: &Ident, meta: &RawLintMeta) -> TokenStream2 { 158pub fn generate_meta_impl(struct_name: &Ident, meta: &RawLintMeta) -> TokenStream2 {
159 let not_raw = LintMeta::from_raw(&meta); 159 let not_raw = LintMeta::from_raw(meta);
160 let name_fn = not_raw.generate_name_fn(); 160 let name_fn = not_raw.generate_name_fn();
161 let note_fn = not_raw.generate_note_fn(); 161 let note_fn = not_raw.generate_note_fn();
162 let code_fn = not_raw.generate_code_fn(); 162 let code_fn = not_raw.generate_code_fn();