Skip to content

Commit 923dd8a

Browse files
authored
Rollup merge of rust-lang#82063 - NULLx76:fix-minor-typo, r=jonas-schievink
Fixed minor typo in catch_unwind docs Changed "a an exception" to "an exception" inside of the `std::panic::catch_unwind` docs.
2 parents 0a4f934 + ee9709f commit 923dd8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/panic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ impl<S: Stream> Stream for AssertUnwindSafe<S> {
408408
/// aborting the process as well. This function *only* catches unwinding panics,
409409
/// not those that abort the process.
410410
///
411-
/// Also note that unwinding into Rust code with a foreign exception (e.g. a
411+
/// Also note that unwinding into Rust code with a foreign exception (e.g.
412412
/// an exception thrown from C++ code) is undefined behavior.
413413
///
414414
/// # Examples

0 commit comments

Comments
 (0)