Skip to content

Commit 4f968c2

Browse files
Александр КравцовАлександр Кравцов
authored andcommitted
Fix typo at error -> panic
1 parent 5bc8bbf commit 4f968c2

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)