Skip to main content

validate

Function validate 

Source
fn validate(
    before: &GlossaryAndReferences,
    doc: &GlossaryAndReferences,
) -> Result<(), EditError>
Expand description

Checks the terms and references of doc that differ from before: entries the call left alone may predate these rules, and mustn’t block unrelated edits.