Function strip_outer_type

Source
pub(crate) fn strip_outer_type<'a>(
    ty: &'a Type,
    type_: &str,
) -> Option<&'a Type>
Expand description

Check if the type is type_<T> and return T.