diff options
| author | Victor Roest <victor@xirion.net> | 2021-02-13 16:59:06 +0100 |
|---|---|---|
| committer | Victor Roest <victor@xirion.net> | 2021-02-13 16:59:06 +0100 |
| commit | ee9709fae61e011a059a5ab17dc0f9c2332d0ff1 (patch) | |
| tree | 704471a21e82cffccb3563d28ef5e85a457bdd1d /library/std/src | |
| parent | 3158857297417566824631a85c4cb3c0615ec6c2 (diff) | |
| download | rust-ee9709fae61e011a059a5ab17dc0f9c2332d0ff1.tar.gz rust-ee9709fae61e011a059a5ab17dc0f9c2332d0ff1.zip | |
Fixed minor typo in catch_unwind docs
Changed 'a an exception' to 'an exception'
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<S: Stream> Stream for AssertUnwindSafe<S> { /// 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 |
