Function line_ending
fn line_ending<T, E: ParseError<T>>(input: T) -> crate::internal::IResult<T, T, E>
where
T: Input + Compare<&'static str>
Recognizes an end of line (both '\n' and '\r\n').
Streaming version: Will return Err(nom::Err::Incomplete(_)) if there's not enough input data.
Example
# use ;
# use line_ending;
assert_eq!;
assert_eq!;
assert_eq!;