We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7008a95 commit 771748dCopy full SHA for 771748d
src/libstd/thread/local.rs
@@ -276,7 +276,7 @@ impl<T: 'static> LocalKey<T> {
276
///
277
/// This will lazily initialize the value if this thread has not referenced
278
/// this key yet. If the key has been destroyed (which may happen if this is called
279
- /// in a destructor), this function will return a `ThreadLocalError`.
+ /// in a destructor), this function will return an [`AccessError`](struct.AccessError.html).
280
281
/// # Panics
282
0 commit comments