[−][src]Function nom::line_ending
pub fn line_ending<T>(input: T) -> IResult<T, T> where
T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>,
T: InputIter + InputLength + AtEof,
T: Compare<&'static str>,
Recognizes an end of line (both '\n' and '\r\n')