[][src]Function dumplingh::util::uppercase_first

pub fn uppercase_first(s: &str) -> String

Uppercase the first character of the supplied string.

Based on http://stackoverflow.com/a/38406885/2851815

Examples

assert_eq!(&uppercase_first("abolish"), "Abolish");