diff options
| author | Raph Levien <raph@google.com> | 2017-02-22 09:30:46 -0800 |
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2017-02-22 09:30:46 -0800 |
| commit | b3ee2490c2cba3f58476e520468afe0b828c0aa6 (patch) | |
| tree | 7f17f972f658ed00a7c310fd1448e9ab96eb07d9 /src/libstd/thread | |
| parent | 81b9b3c542e0f3c3df799a9d66bb0120c7dbc44c (diff) | |
| parent | fc6f092c21a7a7249a9f8860f3cd10160aa36c02 (diff) | |
| download | rust-b3ee2490c2cba3f58476e520468afe0b828c0aa6.tar.gz rust-b3ee2490c2cba3f58476e520468afe0b828c0aa6.zip | |
Merge branch 'master' of https://github.com/rust-lang/rust into readdir
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/local.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index 5166ddf8a21..66f09a7069c 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -28,8 +28,8 @@ use mem; /// # Initialization and Destruction /// /// Initialization is dynamically performed on the first call to `with()` -/// within a thread, and values support destructors which will be run when a -/// thread exits. +/// within a thread, and values that implement `Drop` get destructed when a +/// thread exits. Some caveats apply, which are explained below. /// /// # Examples /// |
