diff options
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/metadata.rs | 2 |
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 | ||
158 | pub fn generate_meta_impl(struct_name: &Ident, meta: &RawLintMeta) -> TokenStream2 { | 158 | pub 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(); |