Function normalize_line_endings
Source pub fn normalize_line_endings(input: &str) -> String
Expand description
Normalizes CRLF and lone CR line endings to LF (\n).
§Arguments
&str - Raw input text with arbitrary line endings.
§Returns
String - Text with LF-only line endings.