pavex::time::format_description

Function parse_strftime_borrowed

pub fn parse_strftime_borrowed(
    s: &str,
) -> Result<Vec<BorrowedFormatItem<'_>>, InvalidFormatDescription>
Expand description

Parse a sequence of items from the strftime format description.

The only heap allocation required is for the Vec itself. All components are bound to the lifetime of the input.