rustc_errors::markdown::parse

Function parse_to_newline

source
fn parse_to_newline(buf: &[u8]) -> (&[u8], &[u8])
Expand description

Resturn (match, residual) to end of line. The EOL is returned with the residual.