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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue