Skip to content

Commit ee9709f

Browse files
author
Victor Roest
committed
Fixed minor typo in catch_unwind docs
Changed 'a an exception' to 'an exception'
1 parent 3158857 commit ee9709f

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)