mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 22:28:01 +08:00
Fix clippy lints (#2119)
This commit is contained in:
@@ -7,7 +7,7 @@ fn parse_hint_helper_attrs(attrs: &[Attribute]) -> syn::Result<(Vec<LitStr>, Vec
|
||||
fold_error_iter(
|
||||
attrs
|
||||
.iter()
|
||||
.filter(|a| a.path().get_ident().map_or(false, |i| i == "hint"))
|
||||
.filter(|a| a.path().get_ident().is_some_and(|i| i == "hint"))
|
||||
.map(|attr| attr.parse_args::<AttrInnerKeyStringMap>()),
|
||||
)
|
||||
.and_then(|v: Vec<AttrInnerKeyStringMap>| {
|
||||
|
||||
Reference in New Issue
Block a user