Skip to content

Commit cc7f201

Browse files
authored
Merge pull request #1227 from sabahtalateh/feature/fix-typo-panic
Fix typo at error -> panic
2 parents e941e08 + 4f968c2 commit cc7f201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/panic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `panic`
22

33
The simplest error handling mechanism we will see is `panic`. It prints an
4-
error message, starts unwinding the task, and usually exits the program.
4+
error message, starts unwinding the stack, and usually exits the program.
55
Here, we explicitly call `panic` on our error condition:
66

77
```rust,editable,ignore,mdbook-runnable

0 commit comments

Comments
 (0)