Function cexpr::assert_full_parse [−][src]
pub fn assert_full_parse<'i, I: 'i, O, E>(
result: IResult<&'i [I], O, E>
) -> IResult<&'i [I], O, Error<&'i [I]>> where
Error<&'i [I]>: From<E>,
Expand description
If the input result indicates a succesful parse, but there is data left,
return an Error::Partial
instead.