Skip to main content

capitalize_first

Function capitalize_first 

Source
pub fn capitalize_first<S>(word: S) -> String
where S: Into<String>,
Expand description

Capitalize the first character in the given string. If the input string is empty an empty string is returned.