about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJustin Symonds <justinjfsymonds@hotmail.com>2023-04-12 18:21:56 -0700
committerGitHub <noreply@github.com>2023-04-12 18:21:56 -0700
commit9b0ceb4395fbc24bb5aff18b118487cb551167ba (patch)
tree8e33712aba21efb9c99bc55b26a9f8d0885de96a
parent9693b178fcebe3cc27129b7bc1237ee5eb706af8 (diff)
downloadrust-9b0ceb4395fbc24bb5aff18b118487cb551167ba.tar.gz
rust-9b0ceb4395fbc24bb5aff18b118487cb551167ba.zip
Update unwind_safe.rs
Typo in the documentation.
-rw-r--r--library/core/src/panic/unwind_safe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/panic/unwind_safe.rs b/library/core/src/panic/unwind_safe.rs
index 9a6153f1253..7e7b6b4dbe9 100644
--- a/library/core/src/panic/unwind_safe.rs
+++ b/library/core/src/panic/unwind_safe.rs
@@ -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++).