We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ca792 commit cafe0d8Copy full SHA for cafe0d8
text/0000-stabilize-catch-panic.md renamed to text/1236-stabilize-catch-panic.md
@@ -1,7 +1,7 @@
1
-- Feature Name: `catch_panic`
+- Feature Name: `recover`
2
- Start Date: 2015-07-24
3
-- RFC PR: (leave this empty)
4
-- Rust Issue: (leave this empty)
+- RFC PR: [rust-lang/rfcs#1236](https://github.com/rust-lang/rfcs/pull/1236)
+- Rust Issue: [rust-lang/rust#27719](https://github.com/rust-lang/rust/issues/27719)
5
6
# Summary
7
@@ -180,7 +180,7 @@ this RFC.
180
181
At its heart, the change this RFC is proposing is to move
182
`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
+to `recover`. Additionally, the `Send` bound from the closure parameter will be
184
removed (`'static` will stay), modifying the signature to be:
185
186
```rust
0 commit comments