about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/rust.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md
index a115f41ae86..bb0438016b8 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -1426,6 +1426,7 @@ names are effectively reserved. Some significant attributes include:
 by the compiler can be found via `rustc -W help`.
 * The `deriving` attribute, for automatically generating
   implementations of certain traits.
+* The `static_assert` attribute, for asserting that a static bool is true at compiletime
 
 Other attributes may be added or removed during development of the language.