fix: typos

Signed-off-by: calciumbe <192480234+calciumbe@users.noreply.github.com>
This commit is contained in:
calciumbe
2024-12-29 18:03:37 +08:00
parent 42591a4cc0
commit 4f8bebd6b5
4 changed files with 4 additions and 4 deletions

View File

@@ -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 {