Updated to latest Rust

`~"str"` -> `"str".to_owned()`