Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9b0ceb4

Browse files
authoredApr 13, 2023
Update unwind_safe.rs
Typo in the documentation.
1 parent 9693b17 commit 9b0ceb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/panic/unwind_safe.rs

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.