Function zummi::zummi_broke

source ·
pub fn zummi_broke(phrase: &str) -> Option<String>
Expand description

Broken version where I accidentally cause an unnecessary allocation.

Example

assert_eq!(zummi::zummi_broke("hello world"), Some(String::from("wello horld")));