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