pub fn parse_strftime_borrowed(
s: &str,
) -> Result<Vec<BorrowedFormatItem<'_>>, InvalidFormatDescription>
Available on (crate features
formatting
or parsing
) and crate feature alloc
only.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.