Function delimited

Source
pub(crate) fn delimited<R>(
    cx: &mut ParseCtxt<'_>,
    delim: Delimiter,
    parse: impl FnOnce(&mut ParseCtxt<'_>) -> ParseResult<R>,
) -> ParseResult<R>
Expand description

Parses an item surrounded by an opening an closing Delimiter