mirror of https://github.com/rust-lang/rfcs.git
RFC 1119 is Result::expect
This commit is contained in:
parent
c7e4b571ce
commit
642bde9c05
|
@ -1,7 +1,7 @@
|
|||
- Feature Name: `result_expect`
|
||||
- Start Date: 2015-05-13
|
||||
- RFC PR: (leave this empty)
|
||||
- Rust Issue: (leave this empty)
|
||||
- RFC PR: [rust-lang/rfcs#1119](https://github.com/rust-lang/rfcs/pull/1119)
|
||||
- Rust Issue: [rust-lang/rust#25359](https://github.com/rust-lang/rust/pull/25359)
|
||||
|
||||
# Summary
|
||||
|
||||
|
@ -21,6 +21,7 @@ message and the error value.
|
|||
|
||||
The format of the error message is left undefined in the documentation, but will most likely be
|
||||
the following
|
||||
|
||||
```
|
||||
panic!("{}: {:?}", msg, e)
|
||||
```
|
Loading…
Reference in New Issue