alpm_srcinfo::parser

Function till_line_end

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

Recognizes all content until the end of line.

This function is called after a = has been recognized using delimiter. It extends upon winnow’s [till_line_ending] by also consuming the newline character. [till_line_ending]: https://docs.rs/winnow/latest/winnow/ascii/fn.till_line_ending.html