Skip to content

Commit 4659a31

Browse files
committed
chore: fix clippy
1 parent 97ce33d commit 4659a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typesense_derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn impl_typesense_collection(item: ItemStruct) -> syn::Result<TokenStream> {
4242

4343
let typesense_fields = fields
4444
.iter()
45-
.map(|field| to_typesense_field_type(field))
45+
.map(to_typesense_field_type)
4646
.collect::<syn::Result<Vec<_>>>()?;
4747

4848
let gen = quote! {

0 commit comments

Comments
 (0)