Skip to main content

validate_link_count

Function validate_link_count 

Source
pub fn validate_link_count(text: &str, link_attachment_url: &str) -> Result<()>
Expand description

Validate that the combined unique link count from text and link_attachment_url does not exceed MAX_LINKS.