Skip to main content

parse_type_str

Function parse_type_str 

Source
pub fn parse_type_str(s: &str) -> Type
Expand description

Parse an Aver type annotation string into a Type. Returns Type::Invalid for malformed or unknown type strings (internal recovery). Prefer parse_type_str_strict for user-facing type annotations.