Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
Co-authored-by: Bartek Iwańczuk <[email protected]>
  • Loading branch information
marvinhagemeister and bartlomieju authored Nov 29, 2024
1 parent 9aeb527 commit 7427f6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rules/button_has_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ impl DiagnosticKind {
DiagnosticKind::MissingTypeAttr => {
"Add a `type` attribute with a value of `button`, `submit` or `reset`"
}
DiagnosticKind::MissingValue => "The value of the `type` attribute must be one of `button`, `submit` or `reset`",
DiagnosticKind::WrongValue => "The value of the `type` attribute must be one of `button`, `submit` or `reset`",
DiagnosticKind::MissingValue | DiagnosticKind::WrongValue => "The value of the `type` attribute must be one of `button`, `submit` or `reset`",
}
}
}
Expand Down

0 comments on commit 7427f6c

Please sign in to comment.