catch_unwind intrinsic: document return value
This commit is contained in:
parent
5d85a714b1
commit
244e92ba5c
1 changed files with 1 additions and 0 deletions
|
@ -3002,6 +3002,7 @@ pub const fn discriminant_value<T>(v: &T) -> <T as DiscriminantKind>::Discrimina
|
|||
|
||||
/// Rust's "try catch" construct for unwinding. Invokes the function pointer `try_fn` with the
|
||||
/// data pointer `data`, and calls `catch_fn` if unwinding occurs while `try_fn` runs.
|
||||
/// Returns `1` if unwinding occurred and `catch_fn` was called; returns `0` otherwise.
|
||||
///
|
||||
/// `catch_fn` must not unwind.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue