Address feedback
This commit is contained in:
@@ -95,7 +95,7 @@ use crate::fmt;
|
||||
/// [loader lock]: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices
|
||||
/// [`JoinHandle::join`]: crate::thread::JoinHandle::join
|
||||
/// [`with`]: LocalKey::with
|
||||
#[rustc_diagnostic_item = "LocalKey"]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "LocalKey")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct LocalKey<T: 'static> {
|
||||
// This outer `LocalKey<T>` type is what's going to be stored in statics,
|
||||
|
||||
Reference in New Issue
Block a user