From ee9709fae61e011a059a5ab17dc0f9c2332d0ff1 Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Sat, 13 Feb 2021 16:59:06 +0100 Subject: [PATCH] Fixed minor typo in catch_unwind docs Changed 'a an exception' to 'an exception' --- library/std/src/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index 89a822a7229..3e634239ad3 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -408,7 +408,7 @@ impl Stream for AssertUnwindSafe { /// aborting the process as well. This function *only* catches unwinding panics, /// not those that abort the process. /// -/// Also note that unwinding into Rust code with a foreign exception (e.g. a +/// Also note that unwinding into Rust code with a foreign exception (e.g. /// an exception thrown from C++ code) is undefined behavior. /// /// # Examples