Function brane_cli::utils::uppercase_first_letter

source ยท
pub fn uppercase_first_letter(s: &str) -> String
Expand description

Returns an equivalent string to the given one, except that the first letter is capitalized.

Arguments

  • s: The string to capitalize.

Returns
A copy of the given string with the first letter in uppercase.