Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for accessibility checks.

All items are pub(crate); the module is pub only so its docstrings render in rustdoc. External callers should use the crate-level crate::utils helpers instead.

ยงExamples

// The crate-level facade for the same checks:
assert!(html_generator::utils::is_valid_language_code("en-GB"));