Skip to content

Commit d914ad2

Browse files
authored
Fix clippy (#546)
1 parent d563253 commit d914ad2

File tree

1 file changed

+1
-1
lines changed
  • meilisearch-index-setting-macro/src

1 file changed

+1
-1
lines changed

meilisearch-index-setting-macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fn validate_punct(punct: &proc_macro2::Punct) -> std::result::Result<(), proc_ma
240240
}
241241

242242
fn get_settings_token_for_list(
243-
field_name_list: &Vec<String>,
243+
field_name_list: &[String],
244244
method_name: &str,
245245
) -> proc_macro2::TokenStream {
246246
let string_attributes = field_name_list.iter().map(|attr| {

0 commit comments

Comments
 (0)