Function nom::eof [] [src]

pub fn eof(input: &[u8]) -> IResult<&[u8]&[u8]>

Recognizes empty input buffers

useful to verify that the previous parsers used all of the input