about summary refs log tree commit diff
path: root/src/libstd/thread_local
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-02-25 23:12:22 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-02-27 12:52:43 +1100
commit060661d2b4a323c83a1bf043234eae8a344ff6aa (patch)
tree043176504d4c42aecb765d4feb7b08c177773a92 /src/libstd/thread_local
parenteafdc7135b79d2e51da740b67946512d949632a1 (diff)
downloadrust-060661d2b4a323c83a1bf043234eae8a344ff6aa.tar.gz
rust-060661d2b4a323c83a1bf043234eae8a344ff6aa.zip
Add some missing stability attributes on struct fields.
Diffstat (limited to 'src/libstd/thread_local')
-rw-r--r--src/libstd/thread_local/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/thread_local/mod.rs b/src/libstd/thread_local/mod.rs
index d65156dae96..764c7d730cb 100644
--- a/src/libstd/thread_local/mod.rs
+++ b/src/libstd/thread_local/mod.rs
@@ -105,10 +105,12 @@ pub struct Key<T> {
     // This is trivially devirtualizable by LLVM because we never store anything
     // to this field and rustc can declare the `static` as constant as well.
     #[doc(hidden)]
+    #[unstable(feature = "thread_local_internals")]
     pub inner: fn() -> &'static __impl::KeyInner<UnsafeCell<Option<T>>>,
 
     // initialization routine to invoke to create a value
     #[doc(hidden)]
+    #[unstable(feature = "thread_local_internals")]
     pub init: fn() -> T,
 }