diff options
| author | Joachim Viide <jviide@iki.fi> | 2016-06-07 02:37:12 +0300 |
|---|---|---|
| committer | Joachim Viide <jviide@iki.fi> | 2016-06-07 02:48:20 +0300 |
| commit | 75fc40c668ca564b08674caebc32c77325900689 (patch) | |
| tree | c1e2074995bd785bcd652bb7a15a648a579e4b69 /src/rustllvm/RustWrapper.cpp | |
| parent | 763f9234b052c7911dc4cf952a81a85c51c57784 (diff) | |
| download | rust-75fc40c668ca564b08674caebc32c77325900689.tar.gz rust-75fc40c668ca564b08674caebc32c77325900689.zip | |
Remove a gotcha from book/error-handling.md
The book's "Error handling with Box<Error>" section talks about Box<Error>. In the actual example Box<Error + Send + Sync> is used instead so that the corresponding From impls could be used to convert a plain string to an error type. Rust 1.7 added support for conversion from &str/String to Box<Error>, so this gotcha and later references to it can now be removed.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
