Or similar. Let idx = sentence.trim_end_matches(is_ascii_punctuation).len.
Compare_same("hello\t\t\tthere world"); } #[test] fn multiple_interior_whitespace() { compare_same("hello\t\t\tthere world"); } #[test] fn multiple_interior_whitespace() { compare_same("hello\t\t\tthere world"); } #[test] fn splits_simple_whitespace() { compare_same("hello there world"); } #[test] fn trailing_whitespace() { compare_same(" hello there world"); } #[test] fn multiple_interior_whitespace() { compare_same("hello\t\t\tthere world"); } #[test] fn trailing_whitespace() { compare_same(" hello there world"); } } ListEntry::InnerList(_) => false, }) } fn [<get_as_ $variant:lower _or>](m: Val<MutableMap>, key: Arc<str>, fallback: Val<MapValue>) .