fix some clippy lints

This commit is contained in:
Evan Almloff committed 2023-09-27 10:21:33 -05:00
1 parent ee25c03e74
commit 3e55bb8885
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ impl Parse for ImplExtensionAttributes {
let attrs = content.parse_terminated(Ident::parse, Token![,])?;
Ok(ImplExtensionAttributes {
is_element: element.to_string() == "ELEMENT",
is_element: element == "ELEMENT",
name,
attrs,
})