Function time::format_description::parse
source · pub fn parse(
s: &str
) -> Result<Vec<BorrowedFormatItem<'_>>, InvalidFormatDescription>
Expand description
Parse a sequence of items from the format description.
The syntax for the format description can be found in the book.
This function exists for backward compatibility reasons. It is equivalent to calling
parse_borrowed::<1>(s)
. In the future, this function will be deprecated in favor of
parse_borrowed
.