to_str → to_string change

Hey,

came across this project while looking for a small project I could have a look at to get the feeling of Rust. With this small change it compiles & tests fine.