pub fn convert_line_endings(input: &str, format: LineEndingFormat) -> StringExpand description
Converts all line endings in a string to the specified LineEndingFormat.
pub fn convert_line_endings(input: &str, format: LineEndingFormat) -> StringConverts all line endings in a string to the specified LineEndingFormat.