fix some clippy lints
This commit is contained in:
1 parent
ee25c03e74
commit
3e55bb8885
3 files changed
+3
-3
No files matched your search
@@ -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,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user