Skip to content

Commit

Permalink
feat(core): improve docs for declaratively generated linters
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Jan 2, 2025
1 parent 5540f2c commit 9f6737b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Pattern>,
dict: Arc<FstDictionary>,
Expand Down

0 comments on commit 9f6737b

Please sign in to comment.