Skip to main content

when

Function when 

Source
fn when(s: &str) -> Result<(Metric, Cmp, f64), String>
Expand description

count > 100, ratio >= 5%, count < 1.

Split on the operator rather than on whitespace: ratio>0.05 is what someone types and refusing it teaches nothing.