Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Dec 20, 2022
1 parent 478d894 commit b3e3bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rome_js_syntax/src/jsx_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ impl JsxAttribute {
_ => None,
};

Ok(result.map(|token| closure(token)).unwrap_or(true))
Ok(result.map(closure).unwrap_or(true))
} else {
// values that don't have initializer get a `true` at compile time, making them
// truthy
Expand Down

0 comments on commit b3e3bf6

Please sign in to comment.