pub fn ending(text: &str) -> &'static str
The text’s own line ending: \r\n when it holds one, else \n.
\r\n
\n