Fixed minor typo in catch_unwind docs

Changed 'a an exception' to 'an exception'
This commit is contained in:
Victor Roest 2021-02-13 16:59:06 +01:00
parent 3158857297
commit ee9709fae6
No known key found for this signature in database
GPG Key ID: A3923C699D1A3BDA

View File

@ -408,7 +408,7 @@ fn size_hint(&self) -> (usize, Option<usize>) {
/// 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