]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25816 - sfackler:io-error-delegation, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 29 May 2015 01:09:48 +0000 (01:09 +0000)
committerbors <bors@rust-lang.org>
Fri, 29 May 2015 01:09:48 +0000 (01:09 +0000)
The first commit simply forwards `io::Error`'s `cause` implementation to the inner error.

The second commit adds accessor methods for the inner error. Method names mirror those used elsewhere like `BufReader`.

r? @alexcrichton


Trivial merge