(
path: &str,
kind: perro_scene::SceneAssetKind,
glb_mesh_index: usize,
)
| 2292 | } |
| 2293 | return format!("{}{}", " ".repeat(indent), label); |
| 2294 | } |
| 2295 | format!("{}{}", " ".repeat(indent), title_case_label(label)) |
| 2296 | } |
| 2297 | |
| 2298 | fn title_case_label(label: &str) -> String { |
| 2299 | label |
| 2300 | .replace('_', " ") |
| 2301 | .split_whitespace() |
| 2302 | .map(|word| { |
| 2303 | let mut chars = word.chars(); |
| 2304 | let Some(first) = chars.next() else { |
| 2305 | return String::new(); |
| 2306 | }; |
| 2307 | format!( |
| 2308 | "{}{}", |
no test coverage detected