Skip to content

Commit

Permalink
Rollup merge of rust-lang#110262 - justincredible:patch-1, r=ChrisDenton
Browse files Browse the repository at this point in the history
Update unwind_safe.rs

Typo in the documentation.
  • Loading branch information
matthiaskrgr authored Apr 13, 2023
2 parents 2585de5 + 9b0ceb4 commit 11d5e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/panic/unwind_safe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use crate::task::{Context, Poll};
/// 2. This broken invariant is then later observed.
///
/// Typically in Rust, it is difficult to perform step (2) because catching a
/// panic involves either spawning a thread (which in turns makes it difficult
/// panic involves either spawning a thread (which in turn makes it difficult
/// to later witness broken invariants) or using the `catch_unwind` function in this
/// module. Additionally, even if an invariant is witnessed, it typically isn't a
/// problem in Rust because there are no uninitialized values (like in C or C++).
Expand Down

0 comments on commit 11d5e5d

Please sign in to comment.