pub(crate) fn starts_with_newline(s: &str) -> bool