Skip to content

Commit 581c6cc

Browse files
authored
Merge pull request #158 from jplatte/patch-1
Fix typo in controlling-panics-with-std-panic.md
2 parents 5fb0d44 + b5cddfa commit 581c6cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-2018/error-handling-and-panics/controlling-panics-with-std-panic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ and so catching panics may not work. If your code relies on `catch_unwind`, you
4949
should add this to your Cargo.toml:
5050

5151
```toml
52-
[profile.debug]
52+
[profile.dev]
5353
panic = "unwind"
5454

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

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

0 commit comments

Comments
 (0)