Skip to content

Commit 2df9a08

Browse files
committed
Rogue 'panic' -> 'fail' in guide.
Should refer to handling panicking tasks like any other computation that may _fail_, not any other computation that may _panic_.
1 parent 830c82d commit 2df9a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5274,7 +5274,7 @@ let result = task::try(proc() {
52745274

52755275
This task will randomly panic or succeed. `task::try` returns a `Result`
52765276
type, so we can handle the response like any other computation that may
5277-
panic.
5277+
fail.
52785278

52795279
# Macros
52805280

0 commit comments

Comments
 (0)