diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-29 21:18:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-29 21:18:07 +0100 |
| commit | 344a61e69b6b06aa98b6ba21cac980929507d403 (patch) | |
| tree | d44d9dfcd9ce3732d5d6d8f71868654a6b08f27a /library/std | |
| parent | d45cb76edc59e49c408d5ba4787bd2f955890cd7 (diff) | |
| parent | 4f8bebd6b55e0a2986be81e50e3851a3ba973edf (diff) | |
Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
Fix typos Hello, I fix some typos in docs and comments. Thank you very much.
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/thread/current.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/current.rs b/library/std/src/thread/current.rs index 1048ef97356..3d2c288b360 100644 --- a/library/std/src/thread/current.rs +++ b/library/std/src/thread/current.rs @@ -136,7 +136,7 @@ pub(crate) fn set_current(thread: Thread) -> Result<(), Thread> { /// one thread and is guaranteed not to call the global allocator. #[inline] pub(crate) fn current_id() -> ThreadId { - // If accessing the persistant thread ID takes multiple TLS accesses, try + // If accessing the persistent thread ID takes multiple TLS accesses, try // to retrieve it from the current thread handle, which will only take one // TLS access. if !id::CHEAP { |
