MCPcopy Create free account
hub / github.com/dxx/feignhttp / is_static_str

Function is_static_str

codegen/src/func.rs:544–549  ·  view source on GitHub ↗
(t: &str)

Source from the content-addressed store, hash-verified

542}
543
544fn is_static_str(t: &str) -> bool {
545 return match t {
546 "&'staticstr" => true,
547 _ => false,
548 };
549}
550
551fn 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();

Callers 1

is_support_structFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected