We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699c6a0 commit ee20a31Copy full SHA for ee20a31
meilisearch-index-setting-macro/src/lib.rs
@@ -1,5 +1,3 @@
1
-use std::fmt::format;
2
-
3
use convert_case::{Case, Casing};
4
use proc_macro2::Ident;
5
use quote::quote;
@@ -177,21 +175,6 @@ fn get_settings_token_for_list(
177
175
}
178
176
179
180
-fn get_settings_token_for_string(
181
- field_name: &String,
182
- method_name: &str,
183
-) -> proc_macro2::TokenStream {
184
- let method_ident = Ident::new(method_name, proc_macro2::Span::call_site());
185
186
- if field_name.is_empty() {
187
- proc_macro2::TokenStream::new()
188
- } else {
189
- quote! {
190
- .#method_ident(#field_name)
191
- }
192
193
-}
194
195
fn get_settings_token_for_string_for_some_string(
196
field_name: &String,
197
method_name: &str,
0 commit comments