Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 10, 2024
1 parent 7967237 commit 33c74a3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ impl Rule for PreferDomNodeDataset {

match method_name {
"setAttribute" => {
ctx.diagnostic(set(span, &dataset_property_name));
ctx.diagnostic(set(span, dataset_property_name));
}
"getAttribute" => {
ctx.diagnostic(get(span, &dataset_property_name));
ctx.diagnostic(get(span, dataset_property_name));
}

"removeAttribute" => ctx.diagnostic(remove(string_lit.span, &dataset_property_name)),
"removeAttribute" => ctx.diagnostic(remove(string_lit.span, dataset_property_name)),

"hasAttribute" => {
ctx.diagnostic(has(span, &dataset_property_name));
ctx.diagnostic(has(span, dataset_property_name));
}

_ => unreachable!(),
Expand Down

0 comments on commit 33c74a3

Please sign in to comment.