diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2021-02-15 16:06:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-15 16:06:58 +0100 |
| commit | 7842b5d2ec42ce13291ae953bdf23a08916580e3 (patch) | |
| tree | 6362dca7c7045b966ef8e33f483c3c01c5f3684e /library/std/src | |
| parent | 5e8435abe01e504e2e4028e5573581d240558c93 (diff) | |
| parent | ee9709fae61e011a059a5ab17dc0f9c2332d0ff1 (diff) | |
| download | rust-7842b5d2ec42ce13291ae953bdf23a08916580e3.tar.gz rust-7842b5d2ec42ce13291ae953bdf23a08916580e3.zip | |
Rollup merge of #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.
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 |
