Skip to content

Commit 89664fb

Browse files
timotree3spacekookie
authored andcommitted
README: Clarify that release mode is needed in order to use human-panic
I just spent about twenty minutes debugging why human-panic wasn't working. I hadn't enabled release mode and had no idea that release mode affected it.
1 parent 4315d39 commit 89664fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ fn main() {
102102
}
103103
```
104104

105+
It only displays a human-friendly panic message in release mode:
106+
107+
```sh
108+
$ cargo run --release
109+
```
110+
105111
## Installation
106112

107113
```sh

0 commit comments

Comments
 (0)