Skip to content

Commit

Permalink
Fix clippy (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza authored Feb 16, 2024
1 parent d563253 commit d914ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meilisearch-index-setting-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ fn validate_punct(punct: &proc_macro2::Punct) -> std::result::Result<(), proc_ma
}

fn get_settings_token_for_list(
field_name_list: &Vec<String>,
field_name_list: &[String],
method_name: &str,
) -> proc_macro2::TokenStream {
let string_attributes = field_name_list.iter().map(|attr| {
Expand Down

0 comments on commit d914ad2

Please sign in to comment.