[−][src]Function rustc_span::normalize_newlines
fn normalize_newlines(src: &mut String, normalized_pos: &mut Vec<NormalizedPos>)
Replaces \r\n with \n in-place in src.
Returns error if there's a lone \r in the string
fn normalize_newlines(src: &mut String, normalized_pos: &mut Vec<NormalizedPos>)
Replaces \r\n with \n in-place in src.
Returns error if there's a lone \r in the string