MCPcopy Index your code
hub / github.com/eventuallyconsultant/codegenr / del_char_start_tests

Function del_char_start_tests

codegenr/src/helpers/string_ext.rs:234–241  ·  view source on GitHub ↗
(v: &str, trimmer: &str, expected: &str)

Source from the content-addressed store, hash-verified

232 pascal
233 }
234
235 fn camel_case(&self) -> String {
236 let (_, camel) = self
237 .trim()
238 .chars()
239 .fold((Some(false), String::with_capacity(self.len())), |acc, x| {
240 let (upper_next, mut s) = acc;
241 if is_out_of_case(x) {
242 return (Some(true), s);
243 }
244

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected