Skip to main content

parse_end

Function parse_end 

Source
pub(crate) fn parse_end(input: &[u8], end: End) -> Option<ParsedItem<'_, ()>>
Available on crate feature parsing only.
Expand description

Parse the end component, which represents the end of input. If any input is remaining and trailing input is prohibited, None is returned. If trailing input is permitted, it is discarded.