Skip to main content

vet_title

Function vet_title 

Source
pub fn vet_title(
    text: &str,
    decision: Option<LanguageDecision>,
) -> Result<String, Vec<&'static str>>
Expand description

Vet an owner-supplied title with the same rules as a generated one. Err carries categories only. Sensitive data is rejected, never redacted into something the owner did not write.