Skip to main content

value_problem

Function value_problem 

Source
pub fn value_problem(
    template: &Value,
    input: &TemplateInput,
    text: &str,
) -> Option<String>
Expand description

Why text is not an acceptable value for input, if it is not: it must evaluate (against the template’s own expressions, so width * 2 works) to a finite number inside the limits, and be one of the choices when there are choices.