(ty: &str)
| 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, |