time::format_description::parse

Macro validate_version

Source
macro_rules! validate_version {
    ($version:ident) => { ... };
}
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

A helper macro to statically validate the version (when used as a const parameter).