diff options
| author | Michal 'vorner' Vaner <vorner@vorner.cz> | 2018-06-26 22:58:25 +0200 |
|---|---|---|
| committer | Michal 'vorner' Vaner <vorner@vorner.cz> | 2018-06-27 07:13:28 +0200 |
| commit | 771748d0ba2fd956a5bddaa2c265115c47f49343 (patch) | |
| tree | 68b2fe350c650daedbcdaa828a7c6f26ec6d5bf6 /src/libstd/thread | |
| parent | 7008a953ebb0114ceeb16f4a08177dc7c92c5d42 (diff) | |
| download | rust-771748d0ba2fd956a5bddaa2c265115c47f49343.tar.gz rust-771748d0ba2fd956a5bddaa2c265115c47f49343.zip | |
Fix the error reference for LocalKey::try_with
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index 40d3280baa6..a170abb2628 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -276,7 +276,7 @@ impl<T: 'static> LocalKey<T> { /// /// This will lazily initialize the value if this thread has not referenced /// this key yet. If the key has been destroyed (which may happen if this is called - /// in a destructor), this function will return a `ThreadLocalError`. + /// in a destructor), this function will return an [`AccessError`](struct.AccessError.html). /// /// # Panics /// |
