time::format_description::parse::ast

Function parse_nested

source
fn parse_nested<'a, I: Iterator<Item = Result<Token<'a>, Error>>, const VERSION: usize>(
    last_location: Location,
    tokens: &mut Lexed<I>,
) -> Result<NestedFormatDescription<'a>, Error>
Expand description

Parse a nested format description. The location provided is the the most recent one consumed.