diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-06-14 11:11:09 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-06-14 11:11:09 +1000 |
| commit | 0642cbbde0e51d5f4465b937ab8ff7d46df02df0 (patch) | |
| tree | 8e54a19b6d39982bd8c70a47f56173123f2b4e23 /src/libstd/task.rs | |
| parent | 3851d68a27d41dfd15e12a75b590f362a0675870 (diff) | |
| download | rust-0642cbbde0e51d5f4465b937ab8ff7d46df02df0.tar.gz rust-0642cbbde0e51d5f4465b937ab8ff7d46df02df0.zip | |
getopts: format failure messages with `Show`.
This obsoletes the old `to_err_msg` method. Replace
println!("Error: {}", failure.to_err_msg())
let string = failure.to_err_msg();
with
println!("Error: {}", failure)
let string = failure.to_str();
[breaking-change]
Diffstat (limited to 'src/libstd/task.rs')
0 files changed, 0 insertions, 0 deletions
