aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2016-04-22 17:20:27 -0400
committerTeddy Wing2016-04-22 17:20:27 -0400
commit4535477b09ff1753cdc83e3c44585ad393a5c716 (patch)
tree8c4f01407db538569ae964fe69e5086ad9c19ef3 /Cargo.lock
parent7d71a6392836880d88bab27481b32e6b63b77c6e (diff)
downloadmutt-alias-auto-add-4535477b09ff1753cdc83e3c44585ad393a5c716.tar.bz2
Write alias errors to STDERR instead of panicking
We use an `.ok()` call on the result of the write so that we can ignore these errors. I think we shouldn't really worry too much about not being to write to STDERR, and instead try to print out the full email message as best we can. In order to write the error (`e.to_string()`), we needed to implement `fmt::Display` on `AliasSearchError`. While I was at it also implemented the `error::Error` trait.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions