MCPcopy Create free account
hub / github.com/eventuallyconsultant/codegenr / del_char_end_tests

Function del_char_end_tests

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

Source from the content-addressed store, hash-verified

246 Some(up) => {
247 let c = if up {
248 x.to_uppercase().next().unwrap_or(x)
249 } else {
250 x.to_lowercase().next().unwrap_or(x)
251 };
252 s.push(c);
253 }
254 None => s.push(x),
255 }
256 (None, s)
257 });
258 camel

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected