(t: &str)
| 542 | } |
| 543 | |
| 544 | fn is_static_str(t: &str) -> bool { |
| 545 | return match t { |
| 546 | "&'staticstr" => true, |
| 547 | _ => false, |
| 548 | }; |
| 549 | } |
| 550 | |
| 551 | fn get_body_fn_call(body_type: &syn::Type, body_var: &syn::Ident) -> proc_macro2::TokenStream { |
| 552 | let body_type_str = body_type.to_token_stream().to_string(); |