diff options
author | Teddy Wing | 2017-11-12 20:16:54 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 20:16:54 +0100 |
commit | b06e3fe2f1bcf7fa897648ab79e301ccab256ac8 (patch) | |
tree | 2c890e557c7b09dc841dc59cda5f5a1a2f3cc1ba /src/main.rs | |
parent | 98ff2f8a24f0d32043b4de9b5671a4d882a6e903 (diff) | |
download | kipper-b06e3fe2f1bcf7fa897648ab79e301ccab256ac8.tar.bz2 |
Convert a bunch of `to_string()`s to `to_owned()`
I had used `to_owned()` previously in other projects, but after looking
up the difference (again probably), I decided that it seems better to
use `to_owned()`.
References:
https://users.rust-lang.org/t/to-string-vs-to-owned-for-string-literals/1441/6
http://www.lowlevelmanager.com/2016/02/rust-tostring-vs-toowned-for-string.html
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions