to_sentence

Function to_sentence 

Source
pub fn to_sentence(s: impl AsRef<str>) -> String
Expand description

Converts a string to Sentence.

Alias for to_case(Case::Sentence).

Sentence case strings are delimited by spaces. Only the leading character of the first word is uppercase.