Function sentence

Source
pub fn sentence(words: &[&str]) -> Vec<String>
Expand description

Makes the first word capitalized and the remaining lowercase.

assert_eq!(
    vec!["Case", "conversion", "library"],
    pattern::sentence(&["Case", "CONVERSION", "library"])
);