pub fn restore_line_endings(s: &str, ending: LineEnding) -> String
Restore the original line ending style.