Skip to main content

line_ending_or_eof

Function line_ending_or_eof 

Source
fn line_ending_or_eof<'a>(input: &mut &'a str) -> ModalResult<&'a str>
Expand description

Parses either a line ending or eof from an input.

ยงErrors

Returns an error if input contains neither a line ending nor eof.