Skip to main content

singularize

Function singularize 

Source
pub fn singularize(name: &str) -> String
Expand description

Singularize a snake_case identifier by transforming only the trailing word: user_accountsuser_account, news_postsnews_post.