MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / split_ty_with_size

Function split_ty_with_size

src/program/gadget.rs:966–971  ·  view source on GitHub ↗
(ty: &str)

Source from the content-addressed store, hash-verified

964 }
965
966 pub fn split_ty_with_size(ty: &str) -> (&str, Option<&str>) {
967 if let Some(size_start) = ty.find('[') {
968 return (&ty[..size_start], Some(&ty[size_start..]));
969 }
970 (ty, None)
971 }
972
973 pub fn get_exact_value_of_macro(
974 deopt: &Deopt,

Callers 1

gen_signatureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected