Skip to content

Commit 11d5e5d

Browse files
authored
Rollup merge of #110262 - justincredible:patch-1, r=ChrisDenton
Update unwind_safe.rs Typo in the documentation.
2 parents 2585de5 + 9b0ceb4 commit 11d5e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/panic/unwind_safe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::task::{Context, Poll};
2828
/// 2. This broken invariant is then later observed.
2929
///
3030
/// Typically in Rust, it is difficult to perform step (2) because catching a
31-
/// panic involves either spawning a thread (which in turns makes it difficult
31+
/// panic involves either spawning a thread (which in turn makes it difficult
3232
/// to later witness broken invariants) or using the `catch_unwind` function in this
3333
/// module. Additionally, even if an invariant is witnessed, it typically isn't a
3434
/// problem in Rust because there are no uninitialized values (like in C or C++).

0 commit comments

Comments
 (0)