Skip to main content

check

Function check 

Source
pub const fn check(text: &str) -> Result<(), &'static str>
Expand description

Checks the shared syntax: ASCII letters, digits and . _ - / :, not empty, at most MAX_ID_LEN bytes. Err holds the reason.