Change to_str().to_string() to just to_str()
auto merge of #14667 : aochagavia/rust/pr2, r=alexcrichton