Skip to main content

ending

Function ending 

Source
pub fn ending(text: &str) -> &'static str
Expand description

The text’s own line ending: \r\n when it holds one, else \n.