Skip to main content

cannot_be_empty

Function cannot_be_empty 

Source
pub fn cannot_be_empty<C>(because: &'static str) -> impl Fn(&str, &C) -> Result
Expand description

A value a schema cannot do without, told what it is for, so the complaint reads like a sentence: “cannot be empty — it is what marks a template”.