Skip to content

Commit

Permalink
Merge pull request #158 from jplatte/patch-1
Browse files Browse the repository at this point in the history
Fix typo in controlling-panics-with-std-panic.md
  • Loading branch information
ehuss authored May 6, 2019
2 parents 5fb0d44 + b5cddfa commit 581c6cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and so catching panics may not work. If your code relies on `catch_unwind`, you
should add this to your Cargo.toml:

```toml
[profile.debug]
[profile.dev]
panic = "unwind"

[profile.release]
Expand Down Expand Up @@ -77,4 +77,4 @@ paired with `resume_unwind`, which can then be used to restart the panicking
process on the client of the pool, where it belongs.

In both cases, you're introducing a new isolation boundary within a thread, and
then translating the panic into some other form of error elsewhere.
then translating the panic into some other form of error elsewhere.

0 comments on commit 581c6cc

Please sign in to comment.