Skip to content

Commit 4b53354

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

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
@@ -2373,9 +2373,9 @@ extern "rust-intrinsic" {
23732373
pub fn discriminant_value<T>(v: &T) -> <T as DiscriminantKind>::Discriminant;
23742374

23752375
/// Rust's "try catch" construct for unwinding. Invokes the function pointer `try_fn` with the
2376-
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. (It is
2376+
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. It is
23772377
/// undefined behavior to catch an unwinding operation from another language with this
2378-
/// function.)
2378+
/// function.
23792379
///
23802380
/// `catch_fn` must not unwind.
23812381
///

0 commit comments

Comments
 (0)