File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -346,9 +346,9 @@ impl<R, F: FnOnce() -> R> FnOnce<()> for AssertRecoverSafe<F> {
346
346
/// It is **not** recommended to use this function for a general try/catch
347
347
/// mechanism. The `Result` type is more appropriate to use for functions that
348
348
/// can fail on a regular basis. Additionally, this function is not guaranteed
349
- /// to catch all panics, see the "Notes" sectino below.
349
+ /// to catch all panics, see the "Notes" section below.
350
350
///
351
- /// The closure provided is required to adhere to the `UnwindSafe` to ensure
351
+ /// The closure provided is required to adhere to the `UnwindSafe` trait to ensure
352
352
/// that all captured variables are safe to cross this boundary. The purpose of
353
353
/// this bound is to encode the concept of [exception safety][rfc] in the type
354
354
/// system. Most usage of this function should not need to worry about this
You can’t perform that action at this time.
0 commit comments