Skip to main content

parse_one_smethod_arg

Function parse_one_smethod_arg 

Source
fn parse_one_smethod_arg(
    args: &str,
) -> Result<(String, String, &str), &'static str>
Expand description

Chomp one key/value pair off a list of smethod args. Returns (k, v, unparsed rest of string). Will also chomp the comma at the end, if there is one.