diff options
| author | bors <bors@rust-lang.org> | 2017-01-14 17:33:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-14 17:33:46 +0000 |
| commit | 2f9dedb528d40a46c47c9970b30cc3e2fdd1e0bb (patch) | |
| tree | 8799645d76d2f7dbb2c19082235cf5b0551fdd37 /src/libstd | |
| parent | d4b063de86a061041285bd97af7c059fc7168fab (diff) | |
| parent | e520b77efed718dd6ba4509f5a8d5860ad80e660 (diff) | |
| download | rust-2f9dedb528d40a46c47c9970b30cc3e2fdd1e0bb.tar.gz rust-2f9dedb528d40a46c47c9970b30cc3e2fdd1e0bb.zip | |
Auto merge of #38982 - clarcharr:expect_err, r=aturon
expect_err for Result. This adds an `expect_err` method to `Result`. Considering how `unwrap_err` already exists, this seems to make sense. Inconsistency noted in Manishearth/rust-clippy#1435.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions
