1
Fork 0

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_.
This commit is contained in:
Jeff Parsons 2014-11-10 21:20:11 +11:00
parent 830c82dd74
commit 2df9a085bd

View file

@ -5274,7 +5274,7 @@ let result = task::try(proc() {
This task will randomly panic or succeed. `task::try` returns a `Result`
type, so we can handle the response like any other computation that may
panic.
fail.
# Macros