(ty: &str)
| 809 | } |
| 810 | |
| 811 | fn strip_const_pointer(ty: &str) -> &str { |
| 812 | let ty = ty |
| 813 | .strip_prefix("FuzzConstPointer<") |
| 814 | .unwrap_or_else(|| panic!("expect a const pointer, but get: {ty}")); |
| 815 | ty.strip_suffix('>') |
| 816 | .unwrap_or_else(|| panic!("const pointer should end with '>', get: {ty}")) |
| 817 | } |
| 818 | |
| 819 | fn strip_mut_pointer(ty: &str) -> &str { |
| 820 | let ty = ty |
no outgoing calls
no test coverage detected