Function layout_2020::flow::inline::construct::capitalize_string
source ยท fn capitalize_string(string: &str, allow_word_at_start: bool) -> String
Expand description
Given a string and whether the start of the string represents a word boundary, create a copy of the string with letters after word boundaries capitalized.