1
Fork 0

adjust code documentation

This commit is contained in:
joboet 2023-04-12 20:27:41 +02:00
parent 934eb8b391
commit 2e652e59f6
No known key found for this signature in database
GPG key ID: 704E0149B0194B3C
2 changed files with 4 additions and 4 deletions

View file

@ -1290,8 +1290,8 @@ impl Thread {
Thread { inner }
}
/// Like the public [`park`], but callable on any handle. Used to allow
/// parking in TLS destructors.
/// Like the public [`park`], but callable on any handle. This is used to
/// allow parking in TLS destructors.
///
/// # Safety
/// May only be called from the thread to which this handle belongs.