Skip to content

Commit c7d9509

Browse files
BatmanAoDtgross35
andcommitted
Apply suggestions from code review
Remove parentheses for important note Co-authored-by: Trevor Gross <[email protected]>
1 parent 5e68611 commit c7d9509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/intrinsics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2662,9 +2662,9 @@ extern "rust-intrinsic" {
26622662
pub fn discriminant_value<T>(v: &T) -> <T as DiscriminantKind>::Discriminant;
26632663

26642664
/// Rust's "try catch" construct for unwinding. Invokes the function pointer `try_fn` with the
2665-
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. (It is
2665+
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. It is
26662666
/// undefined behavior to catch an unwinding operation from another language with this
2667-
/// function.)
2667+
/// function.
26682668
///
26692669
/// `catch_fn` must not unwind.
26702670
///

0 commit comments

Comments
 (0)