pub(crate) fn normalize_newlines(
    src: &mut String,
    normalized_pos: &mut Vec<NormalizedPos>
)
Expand description

Replaces \r\n with \n in-place in src.

Returns error if there’s a lone \r in the string.