(v: &str, trimmer: &str, expected: &str)
| 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 |
nothing calls this directly
no test coverage detected