about summary refs log tree commit diff
path: root/doc/rust.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rust.md')
-rw-r--r--doc/rust.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md
index fe8d0a834e3..f15e767ca82 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -1754,6 +1754,8 @@ names are effectively reserved. Some significant attributes include:
 * The `deriving` attribute, for automatically generating
   implementations of certain traits.
 * The `static_assert` attribute, for asserting that a static bool is true at compiletime
+* The `thread_local` attribute, for defining a `static mut` as a thread-local. Note that this is
+  only a low-level building block, and is not local to a *task*, nor does it provide safety.
 
 Other attributes may be added or removed during development of the language.