Fixed minor typo in catch_unwind docs
Changed 'a an exception' to 'an exception'
This commit is contained in:
parent
3158857297
commit
ee9709fae6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user