Skip to main content

check

Function check 

Source
pub fn check(template: &str) -> Result<(), String>
Expand description

Whether every {{…}} in a template names a section.

The check a template is held to when a spec is read, so nothing renders a page with a section it cannot fill. The message names the vocabulary, and names the two clap placeholders whose spellings differ, because a template being ported is where this is most likely to be read.