Skip to main content

only_keys

Function only_keys 

Source
pub fn only_keys(
    spec: &AssertionSpec,
    allowed: &[&str],
) -> Result<(), EvalError>
Expand description

Reject config keys other than allowed (typos would otherwise be ignored).