auto merge of #18833 : slashgrin/rust/patch-1, r=brson
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:
commit
4d5e7f3249
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user