Function check_graphite::assertions::parse_ratio[][src]

fn parse_ratio<'a, 'b, I>(
    it: &'b mut I,
    word: &str
) -> Result<PointAssertion, ParseError> where
    I: Iterator<Item = &'a str>, 

convert “all” -> 1, “at least 70% (points|series)” -> 0.7