Fixing #4, String::from_str(text.as_slice()) is either redundant or can be replaced by .to_string()