From 831bd7e91d1f97f565d6ea15d816e638a983ad00 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 1 Nov 2021 22:34:22 -0400 Subject: apply clippy lints --- macros/src/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros') 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<'μ> { } pub fn generate_meta_impl(struct_name: &Ident, meta: &RawLintMeta) -> TokenStream2 { - let not_raw = LintMeta::from_raw(&meta); + let not_raw = LintMeta::from_raw(meta); let name_fn = not_raw.generate_name_fn(); let note_fn = not_raw.generate_note_fn(); let code_fn = not_raw.generate_code_fn(); -- cgit v1.2.3