fn line_ending_or_eof<'a>(input: &mut &'a str) -> ModalResult<&'a str>
Parses either a line ending or eof from an input.
input
Returns an error if input contains neither a line ending nor eof.