diff options
| author | Teddy Wing | 2016-04-19 18:57:14 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2016-04-19 19:00:43 -0400 | 
| commit | a2ff502bffe10f9ba15edeab2ab81f5b4e007cc0 (patch) | |
| tree | 9ee59c10578319906b81b8ddb0e6f57a8cb25709 /src/main.rs | |
| parent | 7bb222bd93959ae39e8c73605f13c6413c878f3c (diff) | |
| download | mutt-alias-auto-add-a2ff502bffe10f9ba15edeab2ab81f5b4e007cc0.tar.bz2 | |
is_alias_in_file_finds_a_match: Change `to_string` to `to_owned`
Saw this pattern in the Rust book chapter Error Handling
(http://doc.rust-lang.org/stable/book/error-handling.html#composing-option-and-result).
Not sure if this is right but it seems better and more clearly evokes
our intentions, so use `to_owned` here.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions
