convert_line_endings

Function convert_line_endings 

Source
pub fn convert_line_endings(input: &str, format: LineEndingFormat) -> String
Expand description

Converts all line endings in a string to the specified LineEndingFormat.