Skip to content

Commit cafe0d8

Browse files
committed
RFC 1236 is std::panic::recover
1 parent 91ca792 commit cafe0d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

text/0000-stabilize-catch-panic.md renamed to text/1236-stabilize-catch-panic.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
- Feature Name: `catch_panic`
1+
- Feature Name: `recover`
22
- Start Date: 2015-07-24
3-
- RFC PR: (leave this empty)
4-
- Rust Issue: (leave this empty)
3+
- RFC PR: [rust-lang/rfcs#1236](https://github.com/rust-lang/rfcs/pull/1236)
4+
- Rust Issue: [rust-lang/rust#27719](https://github.com/rust-lang/rust/issues/27719)
55

66
# Summary
77

@@ -180,7 +180,7 @@ this RFC.
180180

181181
At its heart, the change this RFC is proposing is to move
182182
`std::thread::catch_panic` to a new `std::panic` module and rename the function
183-
to `catch`. Additionally, the `Send` bound from the closure parameter will be
183+
to `recover`. Additionally, the `Send` bound from the closure parameter will be
184184
removed (`'static` will stay), modifying the signature to be:
185185

186186
```rust

0 commit comments

Comments
 (0)