mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00
Fix clippy lints (#2119)
This commit is contained in:
parent
00629571f2
commit
e3bb11ec1b
32 changed files with 694 additions and 456 deletions
|
@ -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>| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue