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
pub(crate) fn delimited<R>(
cx: &mut ParseCtxt<'_>,
delim: Delimiter,
parse: impl FnOnce(&mut ParseCtxt<'_>) -> ParseResult<R>,
) -> ParseResult<R>
Parses an item surrounded by an opening an closing Delimiter