Function askama_shared::filters::capitalize
source · pub fn capitalize<T: Display>(s: T) -> Result<String>
Expand description
Capitalize a value. The first character will be uppercase, all others lowercase.
pub fn capitalize<T: Display>(s: T) -> Result<String>
Capitalize a value. The first character will be uppercase, all others lowercase.