re_case

Function to_human_case

Source
pub fn to_human_case(s: &str) -> String
Expand description

Converts a snake or pascal case input into “human case” output, i.e. start with upper case and continue with lower case.

If the input contains multiple parts separated by dots, only the last part is converted.