()
| 31 | ENGINE_CONFIG.voice_path(), |
| 32 | char |
| 33 | )) |
| 34 | .unwrap(); |
| 35 | let item: LengthWrapper = toml::from_str(&content).unwrap(); |
| 36 | voice_length.insert( |
| 37 | char.to_string(), |
| 38 | item.cast |
| 39 | .into_iter() |
| 40 | .map(|(name, secs)| (name, Duration::from_secs(secs))) |
| 41 | .collect(), |
| 42 | ); |
| 43 | } |
| 44 | |
| 45 | VoiceLength { voice_length } |
| 46 | } |
nothing calls this directly
no test coverage detected