Function rustpython_parser_vendored::source_location::newlines::find_newline
source · pub fn find_newline(text: &str) -> Option<(usize, LineEnding)>
Expand description
Finds the next newline character. Returns its position and the LineEnding
.