File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
346346/// It is **not** recommended to use this function for a general try/catch
347347/// mechanism. The `Result` type is more appropriate to use for functions that
348348/// 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.
350350///
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
352352/// that all captured variables are safe to cross this boundary. The purpose of
353353/// this bound is to encode the concept of [exception safety][rfc] in the type
354354/// 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