Skip to content

Commit 75dced3

Browse files
BatmanAoDtgross35
andauthored
Apply suggestions from code review
Remove parentheses for important note Co-authored-by: Trevor Gross <[email protected]>
1 parent ce91d15 commit 75dced3

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
@@ -2392,9 +2392,9 @@ extern "rust-intrinsic" {
23922392
pub fn variant_count<T>() -> usize;
23932393

23942394
/// Rust's "try catch" construct for unwinding. Invokes the function pointer `try_fn` with the
2395-
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. (It is
2395+
/// data pointer `data`, and calls `catch_fn` if a panic occurs while `try_fn` runs. It is
23962396
/// undefined behavior to catch an unwinding operation from another language with this
2397-
/// function.)
2397+
/// function.
23982398
///
23992399
/// `catch_fn` must not unwind.
24002400
///

0 commit comments

Comments
 (0)