clippy_utils::str_utils

Function camel_case_split

source
pub fn camel_case_split(s: &str) -> Vec<&str>
Expand description

Split camel case string into a vector of its components

assert_eq!(camel_case_split("AbcDef"), vec!["Abc", "Def"]);