From 9f6737bab69bf825fcf64202e8bd384a24ca3c75 Mon Sep 17 00:00:00 2001 From: Elijah Potter Date: Thu, 2 Jan 2025 10:12:55 -0700 Subject: [PATCH] feat(core): improve docs for declaratively generated linters --- harper-core/src/linting/proper_noun_capitalization_linters.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/harper-core/src/linting/proper_noun_capitalization_linters.rs b/harper-core/src/linting/proper_noun_capitalization_linters.rs index fefea849..4c10a59b 100644 --- a/harper-core/src/linting/proper_noun_capitalization_linters.rs +++ b/harper-core/src/linting/proper_noun_capitalization_linters.rs @@ -12,6 +12,7 @@ macro_rules! create_linter_for { create_linter_for!($name, $pattern, $message, $message); }; ($name:ident, $pattern:expr, $message:literal, $description:literal) => { + #[doc = $description] pub struct $name { pattern: Box, dict: Arc,